package
0.0.33
Repository: https://github.com/hashicorp/enos.git
Documentation: pkg.go.dev

# Functions

NewCommand creates a new command.
WithArgs sets the command arguments.
WithDir sets the command directory.
WithEnv sets the command environment variables.
WithEnvPassthrough passes the current process environment to the command.
WithUI takes a UI and configures the cmd's STDERR, STDIN, and STDOUT to use the UI's outputs.

# Structs

Command is a functional options wrapper around exec.Cmd.

# Type aliases

ExecOpt is a functional options wrapper around *exec.Cmd.
Opt is a functional options wrapper around Command.