package
0.10.1
Repository: https://github.com/iwaltgen/magex.git
Documentation: pkg.go.dev

# Functions

Buffer returns a *Pipe associated with the reader buffers.
Exec runs an external command and returns a pipe containing the output.
ExecStdout runs an external command and writes the contents of the pipe to the program's standard output.
ReadFile returns a *Pipe associated with the read all file buffers.

# Variables

Args creates a pipe containing the program's command-line arguments, one per line.
Echo returns a pipe containing the supplied string.
File returns a *Pipe associated with the specified file.
FindFiles takes a directory path and returns a pipe listing all the files in the directory and its subdirectories recursively, one per line, like Unix `find -type f`.
IfExists tests whether the specified file exists, and creates a pipe whose error status reflects the result.
ListFiles creates a pipe containing the files and directories matching the supplied path, one per line.
Slice creates a pipe containing each element of the supplied slice of strings, one per line.

# Type aliases

Pipe represents a pipe object with an associated ReadAutoCloser.