cli

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: ISC Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ui cli.Ui, name, githubToken string) (*cli.CLI, error)

New creates a new command-line app

Types

type Build

type Build struct {
	cli.Ui
	*spec.Spec
	formula.Formula
}

Build is the build cli command

func NewBuild

func NewBuild(ui cli.Ui, spec *spec.Spec, formula formula.Formula) (*Build, error)

NewBuild create a new build command

func (*Build) Help

func (c *Build) Help() string

Help returns the long help text including usage, description, and list of flags for the command

func (*Build) Run

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

Run runs the actual command with the given command-line arguments

func (*Build) Synopsis

func (c *Build) Synopsis() string

Synopsis returns the short one-line synopsis of the command.

type Release

type Release struct {
	cli.Ui
	*spec.Spec
	formula.Formula
}

Release is the release cli command

func NewRelease

func NewRelease(ui cli.Ui, spec *spec.Spec, formula formula.Formula) (*Release, error)

NewRelease create a new release command

func (*Release) Help

func (c *Release) Help() string

Help returns the long help text including usage, description, and list of flags for the command

func (*Release) Run

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

Run runs the actual command with the given command-line arguments

func (*Release) Synopsis

func (c *Release) Synopsis() string

Synopsis returns the short one-line synopsis of the command.

type Test

type Test struct {
	cli.Ui
	*spec.Spec
	formula.Formula
}

Test is the test cli command

func NewTest

func NewTest(ui cli.Ui, spec *spec.Spec, formula formula.Formula) (*Test, error)

NewTest create a new test command

func (*Test) Help

func (c *Test) Help() string

Help returns the long help text including usage, description, and list of flags for the command

func (*Test) Run

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

Run runs the actual command with the given command-line arguments

func (*Test) Synopsis

func (c *Test) Synopsis() string

Synopsis returns the short one-line synopsis of the command.

type Update added in v0.2.0

type Update struct {
	cli.Ui
	formula.Formula
}

Update is the update cli command

func NewUpdate added in v0.2.0

func NewUpdate(ui cli.Ui, formula formula.Formula) (*Update, error)

NewUpdate create a new update command

func (*Update) Help added in v0.2.0

func (c *Update) Help() string

Help returns the long help text including usage, description, and list of flags for the command

func (*Update) Run added in v0.2.0

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

Run runs the actual command with the given command-line arguments

func (*Update) Synopsis added in v0.2.0

func (c *Update) Synopsis() string

Synopsis returns the short one-line synopsis of the command.

Jump to

Keyboard shortcuts

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