Documentation
¶
Overview ¶
Package command implements the WireHop command-line interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUsage indicates missing or inconsistent invocation configuration. ErrUsage = errors.New("invalid command usage") )
Functions ¶
func Execute ¶
func Execute(ctx context.Context, args []string, getenv func(string) string, stdout, stderr io.Writer) int
Execute runs the command, renders one diagnostic on failure, and returns a process exit code.
func HostEnvironment ¶
HostEnvironment returns the current process environment value for name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.