Versions in this module Expand all Collapse all v1 v1.0.0 Sep 11, 2020 Changes in this version + func Match(command string, handler shell.Target) shell.Target + func OneOf(handlers ...shell.Target) shell.Target + func Regex(pattern string, handler shell.Target) shell.Target + func Respond(response string) shell.Target + func RespondTo(command string, response string) shell.Target + type Delegate struct + Handlers []shell.Target + func (Delegate) String() string + func (t *Delegate) Start(cmd shell.Cmd) (shell.Process, error) + type Echo struct + func (Echo) Start(cmd shell.Cmd) (shell.Process, error) + type MatchTarget struct + Match string + Target shell.Target + func (t *MatchTarget) Start(cmd shell.Cmd) (shell.Process, error) + type RegexpTarget struct + Match *regexp.Regexp + Target shell.Target + func (t *RegexpTarget) Start(cmd shell.Cmd) (shell.Process, error) + type Response struct + KillErr error + KillTask task.Task + StartErr error + Stderr string + Stdout string + WaitErr error + WaitSignal task.Signal + func (t *Response) Start(cmd shell.Cmd) (shell.Process, error) + type Sequence []shell.Target + func (Sequence) String() string + func (s *Sequence) Start(cmd shell.Cmd) (shell.Process, error) + type UnhandledCmdError shell.Cmd + func (u UnhandledCmdError) Error() string Incompatible versions in this module v2.0.0+incompatible Jul 8, 2021