elixir_cli_spinners
elixir_cli_spinners copied to clipboard
Spinnig Animations for Command Line Applications
CliSpinners

Installation
Install from Hex, Package Manger.
by adding cli_spinners to your list of dependencies in mix.exs:
def deps do
[{:cli_spinners, "~> 0.1.0"}]
end
and published on HexDocs.
Demo
To see all the demos in your terminal, just load the library in your iex shell and call a definition demo
iex> CliSpinners.demo()
Here, each animation is played for two seconds. You can break that by pressing Ctrl C twice. You will return to your shell again.
Documentation for CliSpinners.
CliSpinners are nothing more like a loading animation in the command line interface.
This module comes with different flavours of loading spins. The following is the list of flavours you can pass
Loading Flavors
dots
The dots flavor comes with 12 combnations of loading animations.
From dots to dots12.
dots
dots2
dots3
.....
.....
dots12
There is no dots1. Here, dots1 is written as just dots .
line
Line comes with two combinations
lineline2
pipe
pipe
simple_dots
simple_dotssimple_dots_scrolling
star
starstar2
flip
flip
hamburger
hamburger
grow
This grow format comes in two flavors
grow_verticalgrow_horizontal
balloon
balloonballoon2
noise
noise
bounce
bounce
box_bounce
box_bouncebox_bounce2
Geometry
trianglecirclearccirclecircle_quarterssquare_cornerscircle_halves
squish
squish
toggle
This toggle flavor comes in 13 flavors
toggle
toggle1
toggle2
.....
toggle13
arrow
arrowarrow2arrow3
bouncing
bouncing_barbouncing_ball
smiley
smiley
monkey
monkey
hearts
hearts
clock
clock
earth
earth
moon
moon
pong
pong
runner
runner
shark
shark
dqpb
dqpb
Giff Credits Sindresorhus Npm Package
Inspiration from Progessbar:
Thanks for Reading.
Support
Buy me a cup of coffee https://paypal.me/ankanna