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 ResetFlags ¶
func ResetFlags()
Reset all flags for all commands to their default values (testing).
func SetOyaVersion ¶ added in v0.0.7
func SetOyaVersion(ver string)
Types ¶
type ErrMissingTaskName ¶
type ErrMissingTaskName struct{}
func (ErrMissingTaskName) Error ¶
func (e ErrMissingTaskName) Error() string
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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.