Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InstallCmd = climax.Command{ Name: "install", Brief: "Build the executable and install it in $GOPATh/bin", Help: "Build the executable and install it in $GOPATh/bin", Flags: []climax.Flag{ { Name: "verbose", Short: "v", Usage: `--verbose`, Help: `print the names of packages as they are compiled.`, Variable: false, }, }, Handle: func(ctx climax.Context) int { verbose := ctx.Is("verbose") tool := installer.Installer{ Verbose: verbose, } executor := internal.NewExecutor("") return executor.RunTool(tool, true) }, }
InstallCmd implements the install command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.