Path to this page:
./
devel/ruby-optimist,
Commandline option parser for Ruby
Branch: pkgsrc-2022Q4,
Version: 3.0.1,
Package name: ruby31-optimist-3.0.1,
Maintainer: pkgsrc-usersoptimist
Description
Optimist is a commandline option parser for Ruby that just gets out of your
way. One line of code per option is all you need to write. For that, you
get a nice automatically-generated help page, robust option parsing, and
sensible defaults for everything you don't specify.
Features
* Dirt-simple usage.
* Single file. Throw it in lib/ if you don't want to make it a Rubygem
dependency.
* Sensible defaults. No tweaking necessary, much tweaking possible.
* Support for long options, short options, subcommands, and automatic type
validation and conversion.
* Automatic help message generation, wrapped to current screen width.
Requirements
* A burning desire to write less code.
Master sites:
Filesize: 29.5 KB
Version history: (Expand)
- (2022-12-27) Package added to pkgsrc.se, version ruby31-optimist-3.0.1 (created)