Documentation
¶
Index ¶
- Constants
- func Create(plainCommand string) *exec.Cmd
- func Createf(format string, args ...interface{}) *exec.Cmd
- func ExecuteCommand(command *exec.Cmd) (string, error)
- func ExecuteCommandLongRunning(command *exec.Cmd) (string, error)
- func ExecuteCommandWithSecretContents(command *exec.Cmd) (string, error)
Constants ¶
View Source
const DOUBLE_QUOTE = "{DOUBLE_QUOTE}"
View Source
const SPACE_WITHIN_QUOTE = "{SPACE_WITHIN_QUOTE}"
Variables ¶
This section is empty.
Functions ¶
func Create ¶
Create creates a command from a single string This allows you to pass parameters which include spaces as commands. You just need to add "double-quotes" around the parameter and it will be treated as one parameter and not be splitted by whitespace.
func ExecuteCommandLongRunning ¶
ExecuteCommandLongRunning runs the given command and starts a async spinner to tell the user to be patient
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.