Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd []string
Cmd is specified by a slice of strings, avoiding ambiguous argument specifications
type CmdRunOptions ¶
type CmdRunOptions struct {
RedirectStdin io.Reader // default os.Stdin
RedirectStdout io.Writer // default os.Stdout
RedirectStderr io.Writer // default os.Stderr
AppendedArgs []string // useful for package install append package spec, []string{} or nil for none
WorkingDir string // change working directory, "" for use default, will do subs for it
DryRun io.Writer // won't run, only prints command to run to writer, nil for normal run
DryPrintPrestr string // prestr for dry run print, appended before every line
}
Click to show internal directories.
Click to hide internal directories.