command

package
v0.0.0-...-529d59a Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2015 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SubCommand

type SubCommand struct {
	UI cli.Ui
}

SubCommand is a Command implementation for specifying the command...

func (*SubCommand) Help

func (c *SubCommand) Help() string

Help returns the help for the command

func (*SubCommand) Run

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

Run runs the command

func (*SubCommand) Synopsis

func (c *SubCommand) Synopsis() string

Synopsis resturns the synopsis for the command

type VersionCommand

type VersionCommand struct {
	Revision          string
	Version           string
	VersionPrerelease string
	UI                cli.Ui
}

VersionCommand is a Command implementation prints the version.

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

Help returns the help for the command

func (*VersionCommand) Run

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

Run runs the command

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Synopsis resturns the synopsis for the command

Jump to

Keyboard shortcuts

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