3 ms·
The progress bar gem looks pretty nice. I've been using the similar https://github.com/toy/progress https://github.com/toy/progress for a long time and it's sup
by trishume 10y ago
The progress bar gem looks pretty nice. I've been using the similar https://github.com/toy/progress https://github.com/toy/progress for a long time and it's super useful.
One thing I prefer about progress is that the default config includes an ETA, which is generally the thing I care most about. It's interface is also a little nicer. It's really nice to have an estimate on when a script might complete, so I know if I have to optimize it or if I can just leave it running for a while.
- psadauskas 10y agoShameless plug: I wrote a progress bar gem awhile back for that exact use-case: I wanted it to be as simple as possible to use, and show me an ETA for completion. Maybe you'll find this one useful, too. https://github.com/paul/progress_bar https://github.com/paul/progress_bar
- pmurach 10y agoI was aware of many progress bar libraries before writing tty-progressbar. The reason I ended up coding my own was to have a dead simple codebase - literally one file that does the job well. This makes it easy to maintain and receive contributions. In addition doing job well meant very extensible way to format the progress display, virtually a string with tokens.