Versions in this module Expand all Collapse all v0 v0.1.0 Oct 19, 2019 Changes in this version + type Cmd interface + AddEnv func(string, string) Cmd + Dir func(string) Cmd + FN func(CmdFn) Cmd + func EXEC(name, path string, args ...string) Cmd + func NewCmd(name string, path string, args []string) Cmd + func SH(name, cmd string, args ...string) Cmd + type CmdFn func(*bufio.Reader, gestalt.Evaluator) error + func Capture(columns ...string) CmdFn + type Error struct + func (e *Error) Detail() string + func (e *Error) Error() string + func (e *Error) Stderr() string + func (e *Error) Stdout() string + type PipeFilter func(PipeObject, gestalt.Evaluator) bool + type PipeObject map[string]string + type PipeParser func(*bufio.Reader, gestalt.Evaluator) ([]PipeObject, error) + type PipeStage func([]PipeObject, gestalt.Evaluator) ([]PipeObject, error) + type PipeValidator func([]PipeObject) error + type Pipeline interface + Capture func(...string) CmdFn + CaptureAll func() CmdFn + Done func() CmdFn + EnsureCount func(int) Pipeline + EnsureWith func(PipeValidator) Pipeline + GrepField func(string, string) Pipeline + GrepWith func(PipeFilter) Pipeline + func LineParser(fn func(string, gestalt.Evaluator) (PipeObject, error)) Pipeline + func NewPipeline(fn PipeParser) Pipeline + func ParseColumns(columns ...string) Pipeline + func ParseColumnsWith(fn func(string) []string, columns ...string) Pipeline + func ParseKV(sep string, columns ...string) Pipeline