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:"" default:"withargs" help:"Review a Markdown file in TUI (default command: commd file.md)"`
PR PRCmd `cmd:"" help:"Review Markdown files in a GitHub PR"`
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 PRCmd ¶ added in v0.7.0
type PRCmd struct {
URL string `arg:"" help:"GitHub PR URL (e.g. https://github.com/owner/repo/pull/123)"`
File string `help:"Review a specific file instead of showing file picker"`
Theme string `enum:"dark,light" default:"dark" help:"Color theme (dark|light)"`
// contains filtered or unexported fields
}
PRCmd is the pr subcommand for reviewing Markdown files in a GitHub PR.
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.