command

package
v0.0.0-...-3a937ec Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(stderr, stdout io.Writer, stdin io.Reader, args ...string) (err error)

Types

type Agent

type Agent struct {
	*cut.Environment
	*AgentOptions
}

func (*Agent) Bind

func (a *Agent) Bind(cc *cobra.Command)

func (*Agent) Run

func (a *Agent) Run(args ...string) (err error)

type AgentOptions

type AgentOptions struct {
	ServerOptions agent.ServerOptions
	Meta          []string // Metadata set
}

func (*AgentOptions) Bind

func (o *AgentOptions) Bind(cc *cobra.Command)

type ClientOutputOptions

type ClientOutputOptions struct {
}

type ClientURLOptions

type ClientURLOptions struct {
	URL      string
	NodeID   string
	Redirect bool
}

type Nodes

type Nodes struct {
	*cut.Environment
	*ClientURLOptions
}

func (*Nodes) Bind

func (c *Nodes) Bind(cc *cobra.Command)

func (*Nodes) Run

func (c *Nodes) Run(args ...string) (err error)

type Soil

type Soil struct {
	*cut.Environment
}

func (*Soil) Bind

func (c *Soil) Bind(cc *cobra.Command)

type Version

type Version struct {
	*cut.Environment
}

func (*Version) Bind

func (c *Version) Bind(cc *cobra.Command)

func (*Version) Run

func (c *Version) Run(args ...string) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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