Display a small progress spinner in bash while running your commands with optional message.
Clone or download
Latest commit 35a2239 Jan 10, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Initial commit Jan 10, 2019
tests Fix the readme Jan 10, 2019
.gitignore Initial commit Jan 10, 2019
.travis.yml Initial commit Jan 10, 2019
CHANGELOG.md Initial commit Jan 10, 2019
CODEOWNERS Initial commit Jan 10, 2019
CONTRIBUTING.md Initial commit Jan 10, 2019
LICENSE.md Initial commit Jan 10, 2019
README.md Fix the readme Jan 10, 2019
stale.yml Initial commit Jan 10, 2019

README.md

Build Status Software License Release Github commits (since latest release) GitHub repo size in bytes GitHub contributors

Bash Spinner

Display a small progress spinner in bash while running your commands with optional message.

Simple example

source ../src/spinner.sh

start_spinner "This is my cool spinner message"
curl -L http://slowwly.robertomurray.co.uk/delay/3000/url/https://www.wolfsoftware.com
stop_spinner

Config

You can set an environment value called SPINNER_DELAY to change the default (0.25 seconds) delay used when drawing the spinner