aitododocs Coming soonAutonomous delivery

tkt init, where, group, meta

Markdown

The 13 commands of tkt init, tkt where, tkt group and tkt meta, generated from the running code.

Referenceabout 3 min
On this page
[L]local[R]read[W]write[A]admin write· the grey tag is the REST counterpart
Every option is described by tkt <command> --help. The full machine-readable form: /openapi.json and tkt meta --json.

tkt init

1 commands

Initialize a new workspace on disk (optionally pinned to the current directory)

tkt where

1 commands
tkt where [L] local

Show which workspace root the commands use here, and which source won

tkt group

5 commands
tkt group delete <group_id>DELETE /v1/groups/{group_id}[W] write

Delete a group

tkt group edit <group_id>PATCH /v1/groups/{group_id}[W] write

Edit a group (partial update)

--name--owner--no-owner--repo--branch--base-ref--source-rev--verified-at--no-repo-anchor--body--file--description
Guide: Docs and gotchas
tkt group get <group_id>GET /v1/groups/{group_id}[R] read

Show a group: its header, then the descriptor body (overview and every section) verbatim

tkt group list GET /v1/groups[R] read
tkt group new <name>POST /v1/groups[W] write

Create a new group (optionally with a repoAnchor)

--kind--prefix--owner--id--repo--branch--base-ref--source-rev--verified-at--description
Guide: Set up a project

tkt group ref

3 commands
tkt group ref add <group_id> <ref>PATCH /v1/groups/{group_id} (the whole contextRefs / requiredReading list)[W] write

Add a ref, or update it in place if the group already has it (no duplicates)

--required--context--kind--location--note--summary--anchor--line-range--stale-after-days--verified-at--source-rev
Guide: Refs and mentions
tkt group ref list <group_id>GET /v1/groups/{group_id}[R] read

List a group's refs (both lists unless filtered)

--required--context
Guide: Refs and mentions
tkt group ref remove <group_id> <ref>PATCH /v1/groups/{group_id} (the whole contextRefs / requiredReading list)[W] write

Remove a ref (every occurrence) from contextRefs, requiredReading (--required) or both (--all)

tkt group section

2 commands

Append content after the section's last line (no blank line unless --new-block)

--text--file--new-block
Guide: Docs and gotchas

Replace a section's content (heading kept; empty content clears it)

tkt meta

1 commands
tkt meta GET /v1/meta[L] local

Show the published vocabularies (hint/action types, enums, error codes, environment variables, commands) and versions: the same content as GET /v1/meta

Generated from the Click tree, COMMAND_CLASSES and REST_COUNTERPARTSv0.1.298