cmd

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Commands = []cli.Command{
	{
		Name:   "create",
		Usage:  "Create a new workbench machine in the current directory",
		Action: Create,
	},
	{
		Name:   "up",
		Usage:  "Start the workbench machine and show details",
		Action: Up,
	},
	{
		Name:   "proxy",
		Usage:  "Start a reverse proxy to the app in the current directory",
		Action: Proxy,
		Flags: []cli.Flag{
			cli.StringFlag{
				Name:        "port, p",
				Value:       "8080",
				Usage:       "Port number to start the proxy on",
				Destination: &proxyPort,
			},
		},
	},
}

Commands config

Functions

func Create

func Create(c *cli.Context) error

Create command

func FlightCheck

func FlightCheck() error

FlightCheck helper checks for prerequisite commands

func NotFound

func NotFound(c *cli.Context, command string)

NotFound command

func Proxy

func Proxy(c *cli.Context) error

Proxy command

func Up

func Up(c *cli.Context) error

Up command

func Version

func Version(c *cli.Context)

Version command

Types

This section is empty.

Jump to

Keyboard shortcuts

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