Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalFlags struct { Verbose int //Tells the program to print everything to screen (used multiple times for better verbosity). ConfigFile string //Config file path (assumed ./.gobot if not specified) }
GlobalFlags provides flag definitions valid for the whole system.
View Source
var RootCmd = &cobra.Command{ Use: "gobot", Short: fmt.Sprintf("USAGE %s [OPTIONS]", os.Args[0]), Long: fmt.Sprintf(`USAGE %s [OPTIONS] : see --help for details`, os.Args[0]), Run: executeRootCommand, }
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.