MCPcopy Create free account
hub / github.com/codehamr/codehamr / argOption

Struct argOption

internal/tui/slash.go:19–23  ·  view source on GitHub ↗

argOption is one popover entry, used at command-level (one row per command) and argument-level (one row per accepted value for the active command).

Source from the content-addressed store, hash-verified

17// argOption is one popover entry, used at command-level (one row per command)
18// and argument-level (one row per accepted value for the active command).
19type argOption struct {
20 value string // what gets inserted / committed
21 description string // right-aligned help text
22 current bool // rendered bold; default-selected when the popover opens
23}
24
25// command is one row in the popover, --help, and the dispatch table.
26// args, if non-nil, supplies the argument-level popover entries.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected