hortonworks/pollprogress

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Sometimes you want to poll multiple processes, and wait until they complete. But you want to see a progressbar in cli.

Let say

Install
 -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/
Usage
progress check.yml
Config file syntax

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 : /

License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.