Versions in this module Expand all Collapse all v0 v0.2.4 May 7, 2021 Changes in this version + type Cmd interface + Run func() error + type ExecArgs struct + Mapping mappings.ExampleMapping + Target string + func NewExecArgs(target string, mapping mappings.ExampleMapping) *ExecArgs + type ExecCommand struct + Args *ExecArgs + func NewExecCommand(args *ExecArgs) *ExecCommand + func (c *ExecCommand) Run() error + type ExecError struct + Err error + Name mappings.ExampleKey + func (e *ExecError) Error() string + func (e *ExecError) Unwrap() error + type RunLoopArgs struct + Mapping mappings.ExampleMapping + OneTime bool + func NewRunLoopArgs(oneTime bool, mapping mappings.ExampleMapping) *RunLoopArgs + type RunLoopCommand struct + Args *RunLoopArgs + func NewRunLoopCommand(args *RunLoopArgs) *RunLoopCommand + func (c *RunLoopCommand) Run() error + type RunOnceArgs struct + func NewRunOnceArgs(target string, mapping mappings.ExampleMapping) *RunOnceArgs + type RunOnceCommand struct + Args *RunOnceArgs + func NewRunOnceCommand(args *RunOnceArgs) *RunOnceCommand + func (c *RunOnceCommand) Run() error