installer

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

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