Documentation
¶
Overview ¶
Package cmd provides the command-line interface for the Corral application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "0.0.5"
Version is the build version of Corral. It is overridden at release time via -ldflags "-X github.com/sebastienrousseau/corral/cmd.Version=<version>".
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func ExecuteContext ¶ added in v0.0.3
ExecuteContext executes the root command with the provided context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.