Skip to main content
tk is the command-line interface for ticket-rs. It’s a single binary with no runtime dependencies.

Global Options

These options are available on all commands:
OptionDescription
-C, --dir <DIR>Working directory (default: current)
-f, --format <FORMAT>Output format: compact, table, or json
-h, --helpPrint help
-V, --versionPrint version

Output Formats

tk supports three output formats:
Single-line per item, optimized for scripting:
○ tk-abc123 [● P1] [feature] - Add user authentication
○ tk-def456 [○ P2] [task] - Set up database

Status Symbols

In compact output, status is shown with symbols:
SymbolStatus
open
in_progress
closed
blocked
deferred

Command Categories

Core Commands

CommandDescription
tk initInitialize ticket tracking in a directory
tk createCreate a new issue
tk showShow issue details
tk listList issues with optional filters
tk updateUpdate an issue
tk closeClose an issue

Workflow Commands

CommandDescription
tk launchMark an issue as in_progress, show unblocked work
tk resolveClose an issue and show what work is now unblocked
tk readyShow issues ready to work on (no open blockers)
tk startAlias for tk launch

Dependency Commands

CommandDescription
tk dep addAdd a dependency between issues
tk dep removeRemove a dependency
tk dep treeShow dependency tree for an issue
tk dep listList dependencies or dependents of an issue
tk dep cyclesDetect dependency cycles in the graph

Search Commands

CommandDescription
tk searchSearch issues using TF-IDF text search
tk similarFind issues similar to a given issue
tk duplicatesFind and manage duplicate issues
tk grepGrep issue content using regex

AI Commands

CommandDescription
tk primeOutput AI-optimized workflow context
tk triageUnified AI triage with recommendations
tk priorityGet PageRank-based priority recommendations
tk nextGet single top recommendation
tk planGet parallel execution plan
tk insightsGet graph analytics
tk statsShow statistics

Export & Maintenance

CommandDescription
tk exportExport issues to JSONL format
tk compactCompact closed issues into CHANGELOG.md
tk orphanFind orphaned issues in git history

Git Worktree Commands

CommandDescription
tk worktreeManage git worktrees with shared tickets

Sync Commands

CommandDescription
tk github syncSync issues with GitHub Issues
tk github statusShow GitHub sync status
tk linear syncSync issues with Linear
tk linear statusShow Linear sync status
tk linear teamsList available Linear teams

Admin Commands

CommandDescription
tk configManage configuration
tk setup claudeSet up Claude Code integration
tk hooksManage git hooks
tk doctorCheck installation health
tk validateValidate issue database integrity
tk lintLint all ticket files
tk onboardDisplay onboarding snippet for AGENTS.md
tk demoCreate demo issues

Getting Help

Get help for any command:
# General help
tk help

# Help for a specific command
tk help create
tk help dep
tk help dep add