command

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatCommand added in v0.1.0

type CatCommand struct {
	UI     cli.Ui
	Output io.Writer
}

CatCommand is a Command implementation that concatenate and print values.

func (*CatCommand) Help added in v0.1.0

func (c *CatCommand) Help() string

Help prints the Help text for the cat command.

func (*CatCommand) Run added in v0.1.0

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

Run runs the cat command.

func (*CatCommand) Synopsis added in v0.1.0

func (c *CatCommand) Synopsis() string

Synopsis provides a precis of the cat command.

type DeleteCommand added in v0.1.0

type DeleteCommand struct {
	UI cli.Ui
}

DeleteCommand is a Command implementation that removes key/value entries.

func (*DeleteCommand) Help added in v0.1.0

func (c *DeleteCommand) Help() string

Help prints the Help text for the delete command.

func (*DeleteCommand) Run added in v0.1.0

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

Run runs the delete command.

func (*DeleteCommand) Synopsis added in v0.1.0

func (c *DeleteCommand) Synopsis() string

Synopsis provides a precis of the delete command.

type DumpCommand added in v0.1.0

type DumpCommand struct {
	UI     cli.Ui
	Output io.Writer
}

DumpCommand is a Command implementation that dumps key/values.

func (*DumpCommand) Help added in v0.1.0

func (c *DumpCommand) Help() string

Help prints the Help text for the dump command.

func (*DumpCommand) Run added in v0.1.0

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

Run runs the dump command.

func (*DumpCommand) Synopsis added in v0.1.0

func (c *DumpCommand) Synopsis() string

Synopsis provides a precis of the dump command.

type EditCommand added in v0.1.0

type EditCommand struct {
	UI cli.Ui
}

EditCommand is a Command implementation that edits value using an editor

func (*EditCommand) Help added in v0.1.0

func (c *EditCommand) Help() string

Help prints the Help text for the edit command

func (*EditCommand) Run added in v0.1.0

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

Run runs the edit command.

func (*EditCommand) Synopsis added in v0.1.0

func (c *EditCommand) Synopsis() string

Synopsis provides a precis of the edit command.

type FlagsCommand added in v0.1.0

type FlagsCommand struct {
	UI cli.Ui
}

FlagsCommand is a Command implementation that gets/sets flags.

func (*FlagsCommand) Help added in v0.1.0

func (c *FlagsCommand) Help() string

Help prints the Help text for the flags command.

func (*FlagsCommand) Run added in v0.1.0

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

Run runs the flags command.

func (*FlagsCommand) Synopsis added in v0.1.0

func (c *FlagsCommand) Synopsis() string

Synopsis provides a precis of the flags command.

type ListCommand added in v0.1.0

type ListCommand struct {
	UI cli.Ui
}

ListCommand is a Command implementation that lists keys.

func (*ListCommand) Help added in v0.1.0

func (c *ListCommand) Help() string

Help prints the Help text for the list command.

func (*ListCommand) Run added in v0.1.0

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

Run runs the list command.

func (*ListCommand) Synopsis added in v0.1.0

func (c *ListCommand) Synopsis() string

Synopsis provides a precis of the list command.

type LoadCommand added in v0.1.0

type LoadCommand struct {
	UI    cli.Ui
	Input io.Reader
}

LoadCommand is a Command implementation that loads key/values.

func (*LoadCommand) Help added in v0.1.0

func (c *LoadCommand) Help() string

Help prints the Help text for the load command.

func (*LoadCommand) Run added in v0.1.0

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

Run runs the load command.

func (*LoadCommand) Synopsis added in v0.1.0

func (c *LoadCommand) Synopsis() string

Synopsis provides a precis of the load command.

type PutCommand added in v0.1.0

type PutCommand struct {
	UI    cli.Ui
	Input io.Reader
}

PutCommand is a Command implementation that puts key/value.

func (*PutCommand) Help added in v0.1.0

func (c *PutCommand) Help() string

Help prints the Help text for the put command.

func (*PutCommand) Run added in v0.1.0

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

Run runs the put command.

func (*PutCommand) Synopsis added in v0.1.0

func (c *PutCommand) Synopsis() string

Synopsis provides a precis of the put command.

Jump to

Keyboard shortcuts

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