commands

package
v0.0.0-...-9af3c23 Latest Latest
Warning

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

Go to latest
Published: May 7, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Get

type Get struct {
	// contains filtered or unexported fields
}

Get implements the "get" command.

func NewGet

func NewGet(c *kingpin.CmdClause) *Get

NewGet returns a Get configured to receive parameters from kingpin.

func (*Get) Run

func (r *Get) Run(database store.FileStore) error

Run runs the command.

type List

type List struct{}

List implements the "list" command.

func NewList

func NewList() *List

NewList returns a List. kingpin.

func (*List) Run

func (r *List) Run(database store.FileStore) error

Run runs the command.

type Put

type Put struct {
	// contains filtered or unexported fields
}

Put implements the "put" command.

func NewPut

func NewPut(c *kingpin.CmdClause) *Put

NewPut returns a Put configured to receive parameters from kingpin.

func (*Put) Run

func (w *Put) Run(database store.FileStore) error

Run runs the command.

Jump to

Keyboard shortcuts

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