Documentation
¶
Overview ¶
Package cli is the plumbing fiberd's commands share. Run picks the subcommand of grant-issuer or zygotectl and turns its outcome into an exit code. ParseFlags marks a flag error as a usage error. Version is what every command's -version prints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseFlags ¶
ParseFlags parses args into fs, which reports its own errors to stderr.
func Run ¶
Run dispatches args[0] to its command and returns the exit code. It is 0 on success or -h, 2 for a usage error, and 1 when the command fails. No subcommand, help, or an unknown one prints usage to stderr. A failure is logged to stderr.
Types ¶
Click to show internal directories.
Click to hide internal directories.