command

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

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

Go to latest
Published: Apr 16, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OK             = 0
	INTERNAL_ERROR = 500
)

Return codes to be used by command implementations and tests

Variables

This section is empty.

Functions

This section is empty.

Types

type GenConfigCommand

type GenConfigCommand struct {
	UI cli.Ui
}

GenConfigCommand attempts to write out an INI configuration file

func (*GenConfigCommand) Help

func (c *GenConfigCommand) Help() string

Long-form help

func (*GenConfigCommand) Run

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

Run the actual command

func (*GenConfigCommand) Synopsis

func (c *GenConfigCommand) Synopsis() string

type StartCommand

type StartCommand struct {
	UI cli.Ui
}

StartCommand starts the server application listening on the configured port

func (*StartCommand) Help

func (c *StartCommand) Help() string

Long-form help

func (*StartCommand) Run

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

Run the actual command

func (*StartCommand) Synopsis

func (c *StartCommand) Synopsis() string

Jump to

Keyboard shortcuts

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