Documentation
¶
Overview ¶
Package run contains code from cli/cli As cli/cli uses an internal package for internal/run/run.go, we need to copy the code from them :( https://github.com/cli/cli/blob/34d549e7b61660c7c993181c0be046d6277cad03/internal/run/run.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PrepareCmd = func(cmd *exec.Cmd) Runnable {
return &cmdWithStderr{cmd}
}
PrepareCmd extends exec.Cmd with extra error reporting features and provides a hook to stub command execution in tests.
Functions ¶
func SetPrepareCmd ¶
SetPrepareCmd overrides PrepareCmd and returns a func to revert it back.
Types ¶
Click to show internal directories.
Click to hide internal directories.