Documentation
¶
Overview ¶
Package cli builds the cobra command tree. Keeping the tree in a dedicated package (rather than inside cmd/tsuba) makes it testable without spawning a binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFailed = errors.New("tsuba failed")
ErrFailed is returned by subcommands when the work they were asked to do did not produce the expected result. Execute maps this sentinel to exit code 1. Usage errors (bad flag, missing arg) come back via cobra and map to exit code 2.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.