Documentation
¶
Index ¶
- func LookPath(name string) (path string, found bool)
- type CommandNotRegisteredError
- type Runner
- func (r *Runner) Add(name string, defaultArgs ...string) (found bool)
- func (r *Runner) Cmd(ctx context.Context, name string, args ...string) (*exec.Cmd, error)
- func (r *Runner) Has(name string) bool
- func (r *Runner) Run(name string, stdout io.Writer, stdin io.Reader, args ...string) error
- func (r *Runner) Start(name string, stdout io.Writer, stderr io.Writer, stdin io.Reader, ...) (*exec.Cmd, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandNotRegisteredError ¶ added in v0.5.29
type CommandNotRegisteredError struct {
CommandName string
}
func (*CommandNotRegisteredError) Error ¶ added in v0.5.29
func (e *CommandNotRegisteredError) Error() string
Click to show internal directories.
Click to hide internal directories.