Progress bar
February 5, 2019 ยท View on GitHub
Simple & sexy progress bar for
bash, give it a duration and it will do the rest.

Usage
-
Copy to your code or source:
source ./progress-bar.sh -
Call with a
duration:progress-bar 5
:information_source: Speed can be initially defined by exporting SLEEP_DURATION.
Why?
- I needed one ;
- What I found was too ugly and too complicated ;
- I wanted a good UX ;
- Check-out similar projects' source code and you'll understand.
Who use it?
Test
Requirements: bats.
$ bats ./tests.bats