Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 ExecuteE ¶
func ExecuteE() error
ExecuteE executes a command same as Execute but returns error.
func ResetFlags ¶
func ResetFlags()
Reset all flags for all commands to their default values (testing).
Types ¶
This section is empty.
Notes ¶
Bugs ¶
I don't know how to set default value for StringArray flag type.
Yack. This is what has to be done to support arbitrary flags passed to tasks.
Click to show internal directories.
Click to hide internal directories.