# Functions
CombinedOutputLines is like os/exec's cmd.CombinedOutput(), but over our Cmd interface, and instead of returning the byte buffer of stderr + stdout, it scans these for lines and returns a slice of output lines.
Command is a convenience wrapper over DefaultCmder.Command.
CommandContext is a convenience wrapper over DefaultCmder.CommandContext.
FromContextCmd returns a Cmd from the context.
FromContextCmder returns a Cmder from the context.
InheritOutput sets cmd's output to write to the current process's stdout and stderr.
Output is like os/exec's cmd.Output, but over our Cmd interface.
OutputLines is like os/exec's cmd.Output(), but over our Cmd interface, and instead of returning the byte buffer of stdout, it scans these for lines and returns a slice of output lines.
PrettyCommand takes arguments identical to Cmder.Command, it returns a pretty printed command that could be pasted into a shell.
RunErrorForError returns a RunError if the error contains a RunError.
RunWithStdinWriter runs cmd with writerFunc piped to stdin.
RunWithStdoutReader runs cmd with stdout piped to readerFunc.
WithCmd adds a Cmd to a context.
WithCmder adds a Cmder to a context.
# Variables
DefaultCmder is a LocalCmder instance used for convenience, packages originally using os/exec.Command can instead use pkg/kind/exec.Command which forwards to this instance TODO(bentheelder): swap this for testing TODO(bentheelder): consider not using a global for this :^).
# Structs
LocalCmd wraps os/exec.Cmd, implementing the kind/pkg/exec.Cmd interface.
LocalCmder is a factory for LocalCmd, implementing Cmder.
NoOpCmd only writes down all executed commands as output used for testing only.
NoOpCmder only writes down all executed commands as output used for testing only.
RunError represents an error running a Cmd.