镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Let say

Install

curl -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

pollprogress check.yml

Config file syntax

Its quite simlpe each process/task define its name, and the shell command to check the progress

processA: curl https://some.api.io/longprocess1/status | jq .progress
processB: curl https://some.api.io/longprocess2/status | jq .progress
processC: curl https://some.api.io/longprocess3/status | jq .progress

The command should print the progress to STDOUT in a format : /

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages