command

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands() map[string]cli.CommandFactory

Commands creates all of the possible commands that can be run.

Types

type GoCommand

type GoCommand struct {
	Meta
	FileLoader scaffold.Loader
	URLLoader  scaffold.Loader
	Writer     scaffold.Writer
}

GoCommand runs the build to prepare the project for deployment.

func (*GoCommand) Help

func (c *GoCommand) Help() string

Help displays help output for the command.

func (*GoCommand) Name

func (c *GoCommand) Name() string

Name returns the name of the command.

func (*GoCommand) Run

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

Run starts the build procedure.

func (*GoCommand) Synopsis

func (c *GoCommand) Synopsis() string

Synopsis displays the command synopsis.

type Meta

type Meta struct {
	UI cli.Ui
}

Meta contains the meta options for functionally for neraly every command.

Jump to

Keyboard shortcuts

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