Name: pollprogress
Owner: Hortonworks Inc
Description: null
Forked from: lalyos/pollprogress
Created: 2017-08-01 15:02:50.0
Updated: 2017-08-01 15:02:52.0
Pushed: 2017-12-18 16:43:30.0
Homepage: null
Size: 739
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Sometimes you want to poll multiple processes, and wait until they complete. But you want to see a progressbar in cli.
Let say
-L https://github.com/lalyos/pollprogress/releases/download/v0.1.0/pollprogress_0.1.0_$(uname)_x86_64.tgz | tar -xz -C /usr/local/bin/
progress check.yml
Its quite simlpe each process/task define its name, and the shell command to check the progress
essA: curl https://some.api.io/longprocess1/status | jq .progress
essB: curl https://some.api.io/longprocess2/status | jq .progress
essC: curl https://some.api.io/longprocess3/status | jq .progress
The command should print the progress to STDOUT in a format :
MIT