Documentation ¶
Overview ¶
Package cmd provides methods to initialize each sub-command.
Index ¶
- func ExcludeFlagUsage(f *flag.FlagSet, repeatable bool, exclude []string) string
- func FlagUsage(f *flag.FlagSet, repeatable bool) string
- func NewBuild(ui cli.Ui, gocmd gocmd.Command, workspace deptfile.Workspacer, ...) cli.Command
- func NewClean(ui cli.Ui, toolcacher toolcacher.Cacher) cli.Command
- func NewExec(args []string, ui cli.Ui, workspace deptfile.Workspacer, ...) cli.Command
- func NewGet(ui cli.Ui, gocmd gocmd.Command, workspace deptfile.Workspacer) cli.Command
- func NewInit(ui cli.Ui) cli.Command
- func NewList(ui cli.Ui, workspace deptfile.Workspacer) cli.Command
- func NewRemove(ui cli.Ui, gocmd gocmd.Command, workspace deptfile.Workspacer) cli.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExcludeFlagUsage ¶
ExcludeFlagUsage is the same as FlagUsage, but excludes a slice passed as exclude. Note that ExcludeFlagUsage must be called before Parse.
func NewBuild ¶
func NewBuild( ui cli.Ui, gocmd gocmd.Command, workspace deptfile.Workspacer, toolcacher toolcacher.Cacher, ) cli.Command
NewBuild returns an initialized buildCommand instance.
func NewExec ¶ added in v0.1.1
func NewExec( args []string, ui cli.Ui, workspace deptfile.Workspacer, toolcacher toolcacher.Cacher, ) cli.Command
NewExec returns an initialized execCommand instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.