Documentation
¶
Overview ¶
Package cmd implements the kaiten CLI commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the kaiten CLI version, set at build time. Version = "dev" // Commit is the git commit the kaiten CLI was built from, set at build time. Commit = "HEAD" // Date is the build date of the kaiten CLI, set at build time. Date = "unknown" )
Functions ¶
func Execute ¶
func Execute(version, commit, date string)
Execute runs the kaiten CLI with the given version, commit, and date, exiting the process with one of the documented exit codes.
func NewRootCommand ¶
NewRootCommand builds the root kaiten cobra command with all subcommands registered.
The root command deliberately leaves Args nil so that cobra reports an unknown top-level command with its own "Did you mean this?" suggestions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.