0.0
The project is in a healthy, maintained state
Progress bar helper for Dorian command-line tools.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 1.13, < 2
 Project Readme

dorian-progress

Small wrapper for creating Dorian progress bars.

Install

gem install dorian-progress

Also included in the aggregate gem:

gem install dorian

Usage

progress -h

Run progress -h for generated option details and progress -v for the installed version.

Notes

  • The executable only exposes help/version. The useful API is Dorian::Progress.create.

Examples

Create a progress bar

require "dorian/progress"

progress = Dorian::Progress.create(total: 10, format: :minimal)
10.times { progress.increment }