Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct {
Review ReviewCmd `cmd:"" help:"Review a Markdown file in TUI"`
Cclocate LocateCmd `cmd:"cclocate" help:"Locate file path from Claude Code transcript"`
Cchook HookCmd `cmd:"cchook" help:"Run as Claude Code PostToolUse hook"`
Version VersionCmd `cmd:"" help:"Show version"`
}
CLI is the top-level command structure for commd.
type HookCmd ¶
type HookCmd struct {
Spawner string `enum:"wezterm,tmux,auto" default:"auto" help:"Force specific multiplexer (wezterm|tmux|auto)"`
Theme string `enum:"dark,light" default:"dark" help:"Color theme (dark|light)"`
}
HookCmd is the hook subcommand.
type LocateCmd ¶
type LocateCmd struct {
Transcript string `help:"Path to transcript JSONL file" type:"existingfile"`
CWD string `help:"Working directory for resolving relative plansDirectory" default:"." type:"existingdir"`
Stdin bool `help:"Read hook JSON input from stdin"`
All bool `help:"Output all plan files found in transcript"`
}
LocateCmd is the locate subcommand.
type ReviewCmd ¶
type ReviewCmd struct {
File string `arg:"" help:"Path to the Markdown file"`
Output string `enum:"clipboard,stdout,file" default:"clipboard" help:"Output method (clipboard|stdout|file)"`
OutputPath string `help:"File path for file output" type:"path"`
Theme string `enum:"dark,light" default:"dark" help:"Color theme (dark|light)"`
TrackViewed bool `help:"Persist viewed state to sidecar file for change detection across sessions"`
// contains filtered or unexported fields
}
ReviewCmd is the review subcommand.
type VersionCmd ¶
type VersionCmd struct {
Version string `kong:"hidden,env='version'"`
}
VersionCmd is the version subcommand.
Click to show internal directories.
Click to hide internal directories.