Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubCommand ¶
type SubCommand struct {
// contains filtered or unexported fields
}
SubCommand base command containing common command functions
func NewSubCommand ¶
func NewSubCommand(cmd *cobra.Command) *SubCommand
SubCommand create new sub command
func (*SubCommand) CheckRequiredFlags ¶
func (c *SubCommand) CheckRequiredFlags() error
func (*SubCommand) GetCommand ¶
func (c *SubCommand) GetCommand() *cobra.Command
GetCommand get the cobra command
func (*SubCommand) SetRequiredFlags ¶
func (c *SubCommand) SetRequiredFlags(v ...string) *SubCommand
Click to show internal directories.
Click to hide internal directories.