Documentation
¶
Index ¶
- Constants
- func GetRootCmd() *cobra.Command
- func GetRunCmd(ctx *types.Context) *cobra.Command
- func GetRunRunEFn(ctx *types.Context) func(*cobra.Command, []string) error
- func GetVersionCmd() *cobra.Command
- func GetVersionRunFn() func(*cobra.Command, []string)
- func PrepareBaseCmd(cmd *cobra.Command, fs ...CobraCmdFunction) *cobra.Command
- type CobraCmdFunction
Constants ¶
View Source
const ( ConfigFlag = "config" ConfigShorthand = "c" )
Variables ¶
This section is empty.
Functions ¶
func GetRootCmd ¶
func GetVersionCmd ¶
func GetVersionRunFn ¶
func PrepareBaseCmd ¶
func PrepareBaseCmd(cmd *cobra.Command, fs ...CobraCmdFunction) *cobra.Command
Types ¶
Click to show internal directories.
Click to hide internal directories.