Documentation ¶
Index ¶
- func CleanOutput(str string) string
- func CombinedOutput(command string) ([]byte, error)
- func Command(command string) *exec.Cmd
- func ExitError(err error) (*exec.ExitError, bool)
- func Output(command string) ([]byte, error)
- func WithStdin(command string, r io.Reader) ([]byte, error)
- type CLICommand
- type CLIOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanOutput ¶ added in v0.8.1
CleanOutput returns the output from the cursor character.
func CombinedOutput ¶
CombinedOutput executes a shell command and returns combined output from stdout and stderr.
Types ¶
type CLICommand ¶
type CLICommand struct {
// contains filtered or unexported fields
}
CLICommand repreents a command-line command to execute.
Click to show internal directories.
Click to hide internal directories.