Category

Command Line Option Parsers

Utilities to process arguments to terminal command line programs easily

8.81
A long-lived project that still receives updates
A high-level IO library that provides validation, type conversion, and more for command-line interfaces. HighLine also includes a complete menu system that can crank out anything from simple list selection to complete shells with just minutes of work.
1.29
There's a lot of open issues
A long-lived project that still receives updates
The complete solution for Ruby command-line executables. Commander bridges the gap between other terminal related libraries you know and love (OptionParser, HighLine), while providing many new features, and an elegant API.
0.39
A long-lived project that still receives updates
Methadone provides a lot of small but useful features for developing a command-line app, including an opinionated bootstrapping process, some helpful cucumber steps, and some classes to bridge logging and output into a simple, unified, interface
0.52
Low commit activity in last 3 years
No release in over a year
Isn't it awesome how `optparse` and other option parsers generate help and usage-messages based on your code?! Hell no! You know what's awesome? It's when the option parser *is* generated based on the help and usage-message that you write in a docstring! That's what docopt does!
3.87
There's a lot of open issues
A long-lived project that still receives updates
Trollop is a commandline option parser for Ruby that just gets out of your way. **DEPRECATION** This gem has been renamed to optimist and will no longer be supported. Please switch to optimist as soon as possible.
0.04
Low commit activity in last 3 years
No release in over a year
This is an lightweight option parser, which is less than 80 lines short. It has strong validations and a short, clear and easy to use syntax. Feel free to copy all 80 lines (55 lines without validations / empty lines) into your script rather installing the gem.
0.06
No commit activity in last 3 years
No release in over 3 years
Clap is a small library that can be bundled with your command line application. It covers the simple case of executing code based on the flags or parameters passed.
0.16
Low commit activity in last 3 years
A long-lived project that still receives updates
cmdparse provides classes for parsing (possibly nested) commands on the command line; command line options themselves are parsed using optparse.
0.03
Low commit activity in last 3 years
A long-lived project that still receives updates
The getopt library provides two different command line option parsers. They are meant as easier and more convenient replacements for the command line parsers that ship as part of the Ruby standard library. Please see the README for additional comments.
0.0
No commit activity in last 3 years
No release in over 3 years
It's just here to handle arguments provided to Application. Mainly optional via switches. Currently handles plain-text Console arguments.
0.03
No commit activity in last 3 years
No release in over 3 years
Quickl helps you creating commandline ruby programs. From simple commands with options to complex delegators with subcommands, global and local options.
2.91
A long-lived project that still receives updates
Build command-suite CLI apps that are awesome. Bootstrap your app, add commands, options and documentation while maintaining a well-tested idiomatic command-line app
0.01
No release in over 3 years
Yet another command line option parser in Ruby, based on Perl's Getopt::Long module.
 Popularity
3.68
A long-lived project that still receives updates
A simple mixin for CLI interfaces, including option parsing