Documentation
¶
Index ¶
- func RunEach(w io.Writer, items []string, command string, opts Options) error
- func RunGlob(w io.Writer, pattern, command string, opts Options) error
- func RunLines(w io.Writer, r io.Reader, command string, opts Options) error
- func RunRange(w io.Writer, start, end, step int, command string, opts Options) error
- func RunSplit(w io.Writer, input, delimiter, command string, opts Options) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunEach ¶
RunEach executes a command for each item in a list Usage: for each ITEM1 ITEM2 ... -- COMMAND
func RunGlob ¶
RunGlob executes a command for each file matching a glob pattern Usage: for glob PATTERN -- COMMAND
func RunLines ¶
RunLines executes a command for each line from stdin or file Usage: for lines [FILE] -- COMMAND
Types ¶
Click to show internal directories.
Click to hide internal directories.