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).
| 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). |
| 19 | type 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. |
nothing calls this directly
no outgoing calls
no test coverage detected