Documentation ¶
Index ¶
- Constants
- func CommandRunInteractive(f *cmdutil.Factory, comm string) error
- func CommandRunInteractiveWithOutput(f *cmdutil.Factory, comm string, envVars []string) (string, error)
- func RunCommandStreamOutput(out io.Writer, envVars []string, comm string) error
- func RunCommandWithOutput(envVars []string, comm string) (string, int, error)
Constants ¶
View Source
const ( SHELL = "/bin/sh" POWERSHELL = "powershell" )
Variables ¶
This section is empty.
Functions ¶
func CommandRunInteractive ¶
CommandRunInteractive runs a command interactively.
func CommandRunInteractiveWithOutput ¶
func CommandRunInteractiveWithOutput(f *cmdutil.Factory, comm string, envVars []string) (string, error)
CommandRunInteractive runs a command interactively.
func RunCommandStreamOutput ¶
RunCommandStreamOutput executes the provived command while streaming its logs (stdout+stderr) directly to terminal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.