Documentation ¶
Overview ¶
Package task provides a registry for tasks to be used by commands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Runner ¶
type Runner interface { // Runner runs given the current value and returns a new value which is to // be unified with the original result. Run(ctx *Context, v cue.Value) (results interface{}, err error) }
A Runner defines a command type.
type RunnerFunc ¶
A RunnerFunc creates a Runner.
Click to show internal directories.
Click to hide internal directories.