command

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2017 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlagInit

func FlagInit(args []string) error

Types

type AddTeamCommand

type AddTeamCommand struct {
	Meta
}

func (*AddTeamCommand) Help

func (c *AddTeamCommand) Help() string

func (*AddTeamCommand) Run

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

func (*AddTeamCommand) Synopsis

func (c *AddTeamCommand) Synopsis() string

type AddUserCommand

type AddUserCommand struct {
	Meta
}

func (*AddUserCommand) Help

func (c *AddUserCommand) Help() string

func (*AddUserCommand) Run

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

func (*AddUserCommand) Synopsis

func (c *AddUserCommand) Synopsis() string

type CreateCommand

type CreateCommand struct {
	Meta
}

func (*CreateCommand) Help

func (c *CreateCommand) Help() string

func (*CreateCommand) Run

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

func (*CreateCommand) Synopsis

func (c *CreateCommand) Synopsis() string

type DeleteCommand

type DeleteCommand struct {
	Meta
}

func (*DeleteCommand) Help

func (c *DeleteCommand) Help() string

func (*DeleteCommand) Run

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

func (*DeleteCommand) Synopsis

func (c *DeleteCommand) Synopsis() string

type DeleteTeamCommand

type DeleteTeamCommand struct {
	Meta
}

func (*DeleteTeamCommand) Help

func (c *DeleteTeamCommand) Help() string

func (*DeleteTeamCommand) Run

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

func (*DeleteTeamCommand) Synopsis

func (c *DeleteTeamCommand) Synopsis() string

type DeleteUserCommand

type DeleteUserCommand struct {
	Meta
}

func (*DeleteUserCommand) Help

func (c *DeleteUserCommand) Help() string

func (*DeleteUserCommand) Run

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

func (*DeleteUserCommand) Synopsis

func (c *DeleteUserCommand) Synopsis() string

type GetCommand

type GetCommand struct {
	Meta
}

func (*GetCommand) Help

func (c *GetCommand) Help() string

func (*GetCommand) Run

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

func (*GetCommand) Synopsis

func (c *GetCommand) Synopsis() string

type ListCommand added in v0.2.0

type ListCommand struct {
	Meta
}

func (*ListCommand) Help added in v0.2.0

func (c *ListCommand) Help() string

func (*ListCommand) Run added in v0.2.0

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

func (*ListCommand) Synopsis added in v0.2.0

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