Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InitFunc ¶
type InitFunc func(*InitSubCommand) error
type InitSubCommand ¶
type InitSubCommand struct { *cobra.Command // flags APIVersion string RequiredOnly bool // options Name string Description string SubCommandOf *cobra.Command InitFunc InitFunc }
func (*InitSubCommand) Setup ¶
func (i *InitSubCommand) Setup()
Setup sets up this command to be used as a command.
Click to show internal directories.
Click to hide internal directories.