command

package
v0.0.0-...-a0027d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2016 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

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 New

func New() *Command

New creates a new annad command.

func (*Command) BootCommand

func (c *Command) BootCommand() *boot.Command

BootCommand returns the boot subcommand of the annad command.

func (*Command) Execute

func (c *Command) Execute(cmd *cobra.Command, args []string)

Execute represents the cobra run method.

func (*Command) New

func (c *Command) New() *cobra.Command

New creates a new cobra command for the annad command.

func (*Command) SetBootCommand

func (c *Command) SetBootCommand(command *boot.Command)

SetBootCommand sets the boot subcommand for the annad command.

func (*Command) SetVersionCommand

func (c *Command) SetVersionCommand(command *version.Command)

SetVersionCommand sets the version subcommand for the annad command.

func (*Command) VersionCommand

func (c *Command) VersionCommand() *version.Command

VersionCommand returns the version subcommand of the annad command.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL