command

package
v0.0.0-...-e312568 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2016 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenCommand

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

func (*GenCommand) Help

func (c *GenCommand) Help() string

func (*GenCommand) Run

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

func (*GenCommand) Synopsis

func (c *GenCommand) Synopsis() string

type Meta

type Meta struct {
	Ui cli.Ui
}

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

type NewCommand

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

func (*NewCommand) Help

func (c *NewCommand) Help() string

func (*NewCommand) Run

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

func (*NewCommand) Synopsis

func (c *NewCommand) Synopsis() string

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