command

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type List

type List struct {
	UI cli.Ui
}

func (List) Help

func (cmd List) Help() string

Help return command help text

func (List) Run

func (cmd List) Run(args []string) int

Run run the actual command

func (List) Synopsis

func (cmd List) Synopsis() string

Synopsis returns short synopsis of the command.

type Rehash

type Rehash struct {
	UI cli.Ui
}

func (Rehash) Help

func (cmd Rehash) Help() string

Help return command help text

func (Rehash) Run

func (cmd Rehash) Run(args []string) int

Run run the actual command

func (Rehash) Synopsis

func (cmd Rehash) Synopsis() string

Synopsis returns short synopsis of the command.

type Run added in v1.3.0

type Run struct {
	UI cli.Ui
}

Run is the CLI command struct

func (Run) Help added in v1.3.0

func (cmd Run) Help() string

Help return command help text

func (Run) Run added in v1.3.0

func (cmd Run) Run(args []string) int

Run run the actual command

func (Run) Synopsis added in v1.3.0

func (cmd Run) Synopsis() string

Synopsis returns short synopsis of the command.

type Shell

type Shell struct {
	UI cli.Ui
}

func (Shell) Help

func (cmd Shell) Help() string

Help return command help text

func (Shell) Run

func (cmd Shell) Run(args []string) int

Run run the actual command

func (Shell) Synopsis

func (cmd Shell) Synopsis() string

Synopsis returns short synopsis of the command.

Jump to

Keyboard shortcuts

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