Documentation
¶
Overview ¶
Package cli is the kno binary, built on fang over cobra.
The bar: a developer should never wonder what just happened, what it cost, or what to do next. Every command answers all three. Cost is always visible and confirmed before it is spent, every command ends by naming the next one, interruption is boring (checkpoint, then --resume), and errors name the exact fix.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
Execute runs the CLI and returns the process exit code.
It returns the code rather than calling os.Exit so that main stays a one-liner and every path here is testable — an Execute that exited could only be tested by spawning a subprocess. stdin is the consent prompt's and the wizard's input: a terminal in an interactive run, whatever the caller provides otherwise.
Types ¶
This section is empty.