tkt doc, gotcha, decision, suggest, review
The 29 commands of tkt doc, tkt gotcha, tkt decision, tkt suggest and tkt review, generated from the running code.
On this page
tkt <command> --help. The full machine-readable form: /openapi.json and tkt meta --json.tkt doc
8 commandsAppend to the doc (or a section at any heading level)
Delete a managed doc
Change a doc's metadata (type, title, description, tags, appliesTo); the body stays
Show a managed doc, or with --anchor the table rows / section a ref with that anchor delivers
List all managed docs
Create a managed doc (an existing one only with --force), with optional metadata
List the tickets and groups that reference a doc, and how (contextRef, requiredReading, mention, inherited from a group:<id> or epic:<id>, or its appliesTo matches them: appliesTo:group:<id>, appliesTo:keyword:<k>, appliesTo:path:<glob>), with the sections they name
Replace one exact, unique text in the doc (e.g. its status line)
tkt doc section
2 commandsAppend to a section at any heading level (= doc append --section; created at the end only when the heading exists nowhere)
Replace a section's content, up to the next heading of the same or a higher level (heading kept; created at the end only when the heading exists nowhere)
tkt gotcha
6 commandsDelete a managed gotcha
Change a gotcha's body (--body / --file), severity or metadata; only the fields given change
Show a managed gotcha, or with --anchor the section / table rows a ref with that anchor delivers
List all managed gotchas
Create a managed gotcha (an existing one only with --force), with optional metadata
List who references or inherits a gotcha: the groups that name it (requiredReading, contextRef), the tickets under them (group:<id>), an epic's children (epic:<id>), and the tickets that name it themselves (contextRef, mention) or that its appliesTo matches (appliesTo:group:<id>, appliesTo:keyword:<k>, appliesTo:path:<glob>)
tkt gotcha section
2 commandsAppend after the section's last line, at any heading level (no blank line unless --new-block; created at the end only when the heading exists nowhere)
Replace a section's content, up to the next heading of the same or a higher level (heading kept; created at the end only when the heading exists nowhere)
tkt decision
7 commandsChange a decision's fields, status (validated transitions), relationships or body sections
Show one decision: its fields and relationships both ways, then ## Decision and ## Rationale
List decisions in id order, optionally by status or affected doc
Record a new decision; the store assigns its id (D<n>)
List the tickets, groups, milestones, docs and decisions that reference a decision, and how (contextRef, requiredReading, mention, a bare D<n>, or a relationship), and the tickets it points at itself (origin; affects:<ref> when their bundle carries a doc or gotcha it affects)
Give a decision a new id; every reference follows
Split a decision file git merge left with conflict markers into two decisions
tkt suggest
3 commandsNever show a suggestion again, until the suggested item changes (stored in reviews/)
List ref suggestions
Propose a business value (1|2|3|5|8) with a rationale (#117)
tkt review
1 commandsList the open reviews of an item and the ones it opened; resolve them (a dry run without --apply)