command

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adder added in v0.3.0

type Adder interface {
	Add(ctx context.Context, pkgs []string, verbose bool) error
}

Adder is an interface to add new development tools.

type Builder added in v0.3.0

type Builder interface {
	Build(ctx context.Context, binPath, pkg string, verbose bool) error
}

Builder is an interface to build vendored development tools.

type Executor

type Executor interface {
	Exec(ctx context.Context, name string, args ...string) error
}

Executor is an interface for executing commands.

func NewExecutor

func NewExecutor(outW, errW io.Writer, inR io.Reader, cwd string) Executor

NewExecutor creates a new Executor instance.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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