Documentation ¶ Index ¶ func BindFlag(flag string, cmd *cobra.Command) func Execute(version string, args []string, exit func(int)) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func BindFlag ¶ func BindFlag(flag string, cmd *cobra.Command) func Execute ¶ func Execute(version string, args []string, exit func(int)) 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. Types ¶ This section is empty. Source Files ¶ View all Source files access.go info.go root.go run.go Click to show internal directories. Click to hide internal directories.