Documentation
¶
Index ¶
- Variables
- type Cmd
- func (c *Cmd) Run(command Command) error
- func (c *Cmd) RunPowershell(command Command) error
- func (c *Cmd) RunPowershellWithDir(command Command, runDir RunDir) error
- func (c *Cmd) RunShell(command Command) error
- func (c *Cmd) RunShellWithDir(command Command, runDir RunDir) error
- func (c *Cmd) RunWithDir(command Command, runDir RunDir) error
- type Command
- type Config
- type RunDir
- type StdErr
- type StdIn
- type StdOut
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyCmdError = errors.New("empty command")
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
// contains filtered or unexported fields
}
func (*Cmd) RunPowershell ¶ added in v0.2.0
func (*Cmd) RunPowershellWithDir ¶ added in v0.2.0
func (*Cmd) RunShellWithDir ¶ added in v0.2.0
type Command ¶
type Command string
func (Command) PowershellCommand ¶ added in v0.2.0
func (Command) ShellCommand ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.