A CLI tool to allow interaction with STDOUT from another app.
go install github.com/cyingfan/ptrap@latest
# Run jq against json API
curl <API-endpoint> | ptrap jq
# Run ripgrep against huge file
cat <file> | ptrap rg --color=always
- App does not terminate immediately
- Clipboard support