Documentation
¶
Overview ¶
Package util handles commands
Package util handles nil ¶
Package util handles pathing
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanFileName ¶ added in v0.2.2
CleanFileName will strip unwanted characters from a file system name
Types ¶
type CommandRunner ¶
type CommandRunner struct{}
CommandRunner is the default command runner
func (CommandRunner) Output ¶
func (r CommandRunner) Output(cmd string, args ...string) ([]byte, error)
Output will get command output
func (CommandRunner) Run ¶
func (r CommandRunner) Run(settings RunSettings, cmd string, args ...string) error
Run will run a command with settings
func (CommandRunner) RunCommand ¶ added in v0.1.4
func (r CommandRunner) RunCommand(cmd string, args ...string) error
RunCommand will run a command with default settings
type RunSettings ¶ added in v0.1.4
RunSettings configure how a command is run
Click to show internal directories.
Click to hide internal directories.