cmds

package
v0.0.0-...-84612e1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2016 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildFlag = cli.Command{
	Name:  "build",
	Usage: "Build with version code",
	Flags: []cli.Flag{
		cli.StringFlag{
			Name:  "version",
			Usage: "set version name",
		},
	},
	Action: BuildAction,
}
View Source
var GOBIN string
View Source
var InstallFlag = cli.Command{
	Name:    "install",
	Aliases: []string{"i"},
	Usage:   fmt.Sprintf("Install binary from https://gobuild.io"),
	Flags: []cli.Flag{
		cli.BoolFlag{
			Name:  "debug",
			Usage: "Enable debug log",
		},
	},
	Action: InstallAction,
}

Functions

func BuildAction

func BuildAction(c *cli.Context)

func InstallAction

func InstallAction(c *cli.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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