commands

package
v0.0.0-...-48ca1cc Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Commands = []cli.Command{
	{
		Name:   "add",
		Usage:  "Add a container to the expose server",
		Action: cmdAdd,
		Flags: []cli.Flag{
			cli.IntFlag{
				Name:  "port, p",
				Value: 80,
				Usage: "The port of the container to expose, default to 80",
			},
		},
	},
	{
		Name:   "list",
		Usage:  "List currently running containers and their expose status",
		Action: cmdList,
	},
	{
		Name:   "rm",
		Usage:  "Remove a container from the expose server",
		Action: cmdRm,
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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