Skip to content

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

License

Notifications You must be signed in to change notification settings

scheleon/progress-bar.sh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    

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 dev@edouard-lopez.com.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%