command

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2016 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListCommand

type ListCommand struct {
	Meta
}

func (*ListCommand) Help

func (c *ListCommand) Help() string

func (*ListCommand) Run

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

func (*ListCommand) Synopsis

func (c *ListCommand) Synopsis() string

type LoadCommand

type LoadCommand struct {
	Meta
}

func (*LoadCommand) Help

func (c *LoadCommand) Help() string

func (*LoadCommand) Run

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

func (*LoadCommand) Synopsis

func (c *LoadCommand) Synopsis() string

type Meta

type Meta struct {
	Ui cli.Ui
}

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

type SaveCommand

type SaveCommand struct {
	Meta
}

func (*SaveCommand) Help

func (c *SaveCommand) Help() string

func (*SaveCommand) Run

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

func (*SaveCommand) Synopsis

func (c *SaveCommand) Synopsis() string

type SetCommand

type SetCommand struct {
	Meta
}

func (*SetCommand) Help

func (c *SetCommand) Help() string

func (*SetCommand) Run

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

func (*SetCommand) Synopsis

func (c *SetCommand) Synopsis() string

type UnsetCommand

type UnsetCommand struct {
	Meta
}

func (*UnsetCommand) Help

func (c *UnsetCommand) Help() string

func (*UnsetCommand) Run

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

func (*UnsetCommand) Synopsis

func (c *UnsetCommand) 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