Aggregate outputs from a list of commands.
go get -u github.com/yazgazan/aggr
Usage of aggr:
-cmd string
command template (default "echo {{.Arg}}")
-input string
input file (csv) (default "/dev/stdin")
kubectl get pods -o json | jq -r '.items[].metadata.name' | aggr -cmd="kubectl logs -f {{.Arg}}"
- Automatically restart process