Documentation ¶
Index ¶
- func CommandExists(command string) bool
- func ExecuteCommand(command string, args ...string) error
- func ExecuteShellCommand(command string) error
- func ExecuteShellCommandAsync(command string) error
- func GetFlagValue(token string, shortFlag string, longFlag string) string
- func GetTokens(command string) ([]string, error)
- func IsFlag(token string, shortFlag string, longFlag string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandExists ¶
CommandExists check to see if the specified command exists
func ExecuteCommand ¶
ExecuteCommand runs a command with given args
func ExecuteShellCommand ¶
ExecuteShellCommand runs a command via the shell
func ExecuteShellCommandAsync ¶
ExecuteShellCommandAsync runs a command via the shell asynchronously
func GetFlagValue ¶
GetFlagValue returns the associated value for the specified flags given a token
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.