Progress Bar.sh Save

Simple & sexy progress bar for `bash`, give it a duration and it will do the rest.

Project README

Progress bar

Simple & sexy progress bar for bash, give it a duration and it will do the rest.

progress-bar.sh in action on light terminal progress-bar.sh in action on dark terminal

Usage

  1. Copy to your code or source:

     source ./progress-bar.sh
    
  2. Call with a duration:

     progress-bar 5
    

:information_source: Speed can be initially defined by exporting SLEEP_DURATION.

Why?

  1. I needed one ;
  2. What I found was too ugly and too complicated ;
  3. I wanted a good UX ;
  4. Check-out similar projects' source code and you'll understand.

Who use it?

Test

Requirements: bats.

$ bats ./tests.bats

License

MIT [email protected].

Open Source Agenda is not affiliated with "Progress Bar.sh" Project. README Source: edouard-lopez/progress-bar.sh
Stars
232
Open Issues
1
Last Commit
2 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating