{"repo":"janlelis/whirly","free":true,"listed":false,"github":"https://github.com/janlelis/whirly","clone":"git clone https://github.com/janlelis/whirly.git","description":"Colorful Terminal Spinner for Ruby 😀︎","language":"Ruby","stars":330,"topics":["cli-spinners","spinner-icon","spinner-frames","unicode-symbols","ruby","spinner","terminal","hacktoberfest"],"license":"MIT","category":"cli-tools","readme_excerpt":"Whirly 😀 [![[version]](https://badge.fury.io/rb/whirly.svg)](https://badge.fury.io/rb/whirly) A simple, colorful and customizable terminal spinner library for Ruby. It comes with 24 custom spinners and also includes those from the cli-spinners project. Demonstration Bundled Whirly Spinners Play on asciinema Bundled Spinners from CLI Spinners Play on asciinema Setup Add to your Gemfile : Usage Basic Usage The spinner is shown while the block executes: You can update the spinner text from inside the block: If you want to avoid the block syntax, you can also stop it manually: The start method takes a lot of options, like which spinner to use or an initial status. See further below for the full description of available options. Also see the examples directory for example scripts. Configuring Whirly You can pass the same options you would pass to .start to .configure instead to create a persistent configuration that will be used by .start : Call .reset to restore unconfigured behaviour: Spinners Included Spinners See data/whirly-static-spinnes.json , lib/whirly/spinners/whirly.rb and cli-spinners. You can get a demonstration of all bundled spinners by running the examples/all spinners.rb script. All Whirly.start / Whirly.configure Configuration Options Main Options spinner: Default: \"whirly\" You have multiple ways of telling Whirly which spinner should be used. You can pass the following to the spinner: option: - The name of a bundled spinner - An array of spinner frames to use -","default_branch":null,"files":null,"tree":[],"storefront":"/r/janlelis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/janlelis/whirly/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}