subcmd

package
v0.0.0-...-7d60200 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Add

type Add struct {
	Style
}

Add is the command name.

func (*Add) Help

func (c *Add) Help() string

Help text.

func (*Add) Run

func (c *Add) Run(args []string) int

Run specifies what this command does.

func (*Add) Synopsis

func (c *Add) Synopsis() string

Synopsis tells what it does.

type Check

type Check struct {
	Style
}

Check is the command name.

func (*Check) Help

func (c *Check) Help() string

Help text

func (*Check) Run

func (c *Check) Run(args []string) int

Run specifies what this command does.

func (*Check) Synopsis

func (c *Check) Synopsis() string

Synopsis tells what it does.

type Remove

type Remove struct {
	Style
}

Remove is the command name.

func (*Remove) Help

func (c *Remove) Help() string

Help text

func (*Remove) Run

func (c *Remove) Run(args []string) int

Run specifies what this command does.

func (*Remove) Synopsis

func (c *Remove) Synopsis() string

Synopsis tells what it does.

type Style

type Style struct {
	UI cli.Ui
}

Style defines UIs, like color.

type VersionCommand

type VersionCommand struct {
	Style

	Name     string
	Version  string
	Revision string
}

VersionCommand is the command name.

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

Help text

func (*VersionCommand) Run

func (c *VersionCommand) Run(args []string) int

Run specifies what this command does.

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Synopsis tells what it does.

Jump to

Keyboard shortcuts

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