A progress spinner for ZSH scripts
git clone https://github.com/adamazing/revolver revolver
chmod u+x revolver/revolver
mv revolver/revolver /usr/local/bin
revolver start 'Your awesome message'
# Do something here
revolver update 'A different message'
# Do something else here
revolver stop
Revolver comes with a revolver demo
command which demonstrates each of the
included spinner styles. Once you've found one you like, select it using the
--style
option.
revolver --style 'bouncingBall' start 'The spinner message'
You can hide the cursor during revolver operation, to do this pass option -i
or --hide-cursor
for the opening revolver
invocation:
revolver -i start "Your awesome message"
# OR
revolver --hide-cursor start "Your awesome message"
# ...
# ...
Copyright (c) 2016 James Dinsdale [email protected] (molovo.co)
Revolver is licensed under The MIT License (MIT)