A rust implementation of the pipe operator.
# Using cargo run
cargo run -- --in curl https://systemglitch.me --out grep SystemGlitch
./my-pipe --in curl https://systemglitch.me --out grep SystemGlitch
To pass arguments to sub-commands, you may need to escape hyphens:
./my-pipe --in find ./target \\-name '*cargo*' \\-exec sleep 1 \; \\-exec echo {} \; --out grep "cargo"