BSD Ports

misc/ruby-powerbar 2.0.1 NetBSD

The last progressbar-library you'll ever need

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
misc, ruby
Package size
24.1 KiB, 49.7 KiB installed

Description

# PowerBar

This is PowerBar - The last progressbar-library you'll ever need.

## Features

* Detects when stdout is not a terminal and automatically falls back to logging * Does not clutter your log-files with ansi-codes! * If your CLI-app can run interactively and non-interactively (e.g. cronjob) you will automatically get reasonable progress-output in both modes. * By default prints to stderr but can call any output-method of your choice (e.g. your favorite Logger).

* Fully customizable; all output is template-driven.

* All output is optional. You may set PowerBar to silently collect progress information (percentage-done, throughput, ETA, etc.) and then use the computed values elsewhere in your app.

* All state can be updated at any time. For example: If you're monitoring a multi-part operation then you can change the status-message of a running PowerBar to reflect the current state.

Install

Binary package:

pkgin install ruby33-powerbar

From pkgsrc:

cd /usr/pkgsrc/misc/ruby-powerbar && make install clean

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-powerbar-2.0.1, ruby40-powerbar-2.0.1