Documentation
¶
Index ¶
- type CobraCommand
- func (c *CobraCommand) AddCommand(command cli_models.Command) error
- func (c *CobraCommand) AddCommands(commands ...*cli_models.Command) error
- func (c *CobraCommand) Execute() error
- func (c *CobraCommand) Init(info cli_models.Info) error
- func (c *CobraCommand) Name() string
- func (c *CobraCommand) SetDefaultAction(action func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CobraCommand ¶
type CobraCommand struct {
// contains filtered or unexported fields
}
func (*CobraCommand) AddCommand ¶
func (c *CobraCommand) AddCommand(command cli_models.Command) error
func (*CobraCommand) AddCommands ¶
func (c *CobraCommand) AddCommands(commands ...*cli_models.Command) error
func (*CobraCommand) Execute ¶
func (c *CobraCommand) Execute() error
func (*CobraCommand) Init ¶
func (c *CobraCommand) Init(info cli_models.Info) error
func (*CobraCommand) Name ¶
func (c *CobraCommand) Name() string
func (*CobraCommand) SetDefaultAction ¶
func (c *CobraCommand) SetDefaultAction(action func())
Click to show internal directories.
Click to hide internal directories.