command

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 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 LocalCommand

type LocalCommand struct {
	Meta
	// contains filtered or unexported fields
}

func (*LocalCommand) Help

func (c *LocalCommand) Help() string

func (*LocalCommand) Run

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

func (*LocalCommand) Synopsis

func (c *LocalCommand) Synopsis() string

type Meta

type Meta struct {
	Ui cli.Ui
}

Meta contain the meta-option that nearly all subcommand inherited.

type VersionCommand

type VersionCommand struct {
	Meta

	Name     string
	Version  string
	Revision string
}

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

func (*VersionCommand) Run

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

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

Jump to

Keyboard shortcuts

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