Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // BuildVersion to show in usage message BuildVersion string )
View Source
var RootCmd = &cobra.Command{ Use: os.Args[0], Short: "Lists commands", Long: `Lists all available commands.`, Run: func(cmd *cobra.Command, args []string) { if version { fmt.Printf("%s build: %s", os.Args[0], BuildVersion) os.Exit(0) } fmt.Printf("\n\n") cmd.Usage() }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.