Documentation
¶
Index ¶
- type Command
- func (c *Command) Args() command.PositionalArgs
- func (c *Command) Init() error
- func (c *Command) PreRun(cmd *cobra.Command, args []string) cenclierrors.CencliError
- func (c *Command) Run(cmd *cobra.Command, args []string) cenclierrors.CencliError
- func (c *Command) Short() string
- func (c *Command) Use() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
*command.BaseCommand
}
func NewVersionCommand ¶
func (*Command) Args ¶
func (c *Command) Args() command.PositionalArgs
func (*Command) PreRun ¶
func (c *Command) PreRun(cmd *cobra.Command, args []string) cenclierrors.CencliError
func (*Command) Run ¶
func (c *Command) Run(cmd *cobra.Command, args []string) cenclierrors.CencliError
Click to show internal directories.
Click to hide internal directories.