Documentation ¶
Index ¶
- type Command
- func (c *Command) BootCommand() *boot.Command
- func (c *Command) Execute(cmd *cobra.Command, args []string)
- func (c *Command) New() *cobra.Command
- func (c *Command) SetBootCommand(command *boot.Command)
- func (c *Command) SetVersionCommand(command *version.Command)
- func (c *Command) VersionCommand() *version.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command represents the annad command.
func (*Command) BootCommand ¶
BootCommand returns the boot subcommand of the annad command.
func (*Command) SetBootCommand ¶
SetBootCommand sets the boot subcommand for the annad command.
func (*Command) SetVersionCommand ¶
SetVersionCommand sets the version subcommand for the annad command.
func (*Command) VersionCommand ¶
VersionCommand returns the version subcommand of the annad command.
Click to show internal directories.
Click to hide internal directories.