yazgazan / aggr

Aggregate outputs from a list of commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aggr (wip)

Aggregate outputs from a list of commands.

Install

go get -u github.com/yazgazan/aggr

Usage

Usage of aggr:
  -cmd string
    	command template (default "echo {{.Arg}}")
  -input string
    	input file (csv) (default "/dev/stdin")

Example

kubectl get pods -o json | jq -r '.items[].metadata.name' | aggr -cmd="kubectl logs -f {{.Arg}}"

TODO

  • Automatically restart process

About

Aggregate outputs from a list of commands


Languages

Language:Go 100.0%