CLI Overview
Commands
Section titled “Commands”jtk provides a Cobra-based CLI with the following command groups:
jtk auth Login, status, logout, and environment variable config
jtk mcp Start the MCP server (stdio or HTTP)
jtk issues Get, search, create, transition, move, and comment on issues
jtk boards List boards and manage sprints
jtk projects List and inspect projects
jtk users Search and inspect users
jtk worklogs List and add time tracking entries
jtk versions List and inspect project versions
jtk devinfo Get development info (branches, PRs, commits) for an issue
jtk attachments List and download issue attachments
jtk metrics Get issue lifecycle metrics (cycle time, lead time, time in status)
Global Flags
Section titled “Global Flags”| Flag | Description |
|---|---|
--json | Output raw JSON instead of formatted tables |
--version | Print jtk version |
--help | Show help for any command |
Git-Aware Commands
Section titled “Git-Aware Commands”Several commands auto-detect the issue key from your current git branch if no argument is provided:
jtk issues getjtk issues transitionjtk issues commentjtk issues movejtk worklogs listjtk worklogs add
See Git Integration for details on supported branch naming patterns.
Output Modes
Section titled “Output Modes”By default, jtk outputs human-readable formatted tables. Use --json for raw JSON:
# Formatted table outputjtk projects list
# Raw JSON outputjtk projects list --json