Command Line Option Parsers
Utilities to process arguments to terminal command line programs easily
5.42
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.
2020
2021
2022
2023
2024
2025
3.06
A DSL for gathering options and parsing command line flags
2020
2021
2022
2023
2024
2025
2.18
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, command subcompletion, and sensible defaults for everything you don't
specify.
2020
2021
2022
2023
2024
2025
2.16
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.
2020
2021
2022
2023
2024
2025
2.04
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
2020
2021
2022
2023
2024
2025
1.29
A simple mixin for CLI interfaces, including option parsing
2020
2021
2022
2023
2024
2025
1.27
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.
2020
2021
2022
2023
2024
2025
1.25
Run shell commands safely, even with user-supplied values
2020
2021
2022
2023
2024
2025
0.98
Clamp provides an object-model for command-line utilities.
It handles parsing of command-line options, and generation of usage help.
2020
2021
2022
2023
2024
2025
0.73
Choice is a simple little gem for easily defining and parsing command line options with a friendly DSL.
2020
2021
2022
2023
2024
2025
0.55
Common framework to build command line interfaces with Ruby
2020
2021
2022
2023
2024
2025
0.35
Cri allows building easy-to-use command-line interfaces with support for subcommands.
2020
2021
2022
2023
2024
2025
0.34
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!
2020
2021
2022
2023
2024
2025
0.21
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
2020
2021
2022
2023
2024
2025
0.2
cmdparse provides classes for parsing (possibly nested) commands on the command line;
command line options themselves are parsed using optparse.
2020
2021
2022
2023
2024
2025
0.18
OptparsePlus provides a lot of small but useful features for developing a command-line app, including an opinionated bootstrapping process, some helpful integration test support, and some classes to bridge logging and output into a simple, unified, interface
2020
2021
2022
2023
2024
2025
0.11
A flexible command line option parser.
2020
2021
2022
2023
2024
2025
0.06
Writing even complex command-line apps should be quick, easy and fun. Escort takes the excellent Trollop option parser and adds a whole bunch of awesome features to produce a library you will always want to turn to when a 'quick script' is in order.
2020
2021
2022
2023
2024
2025
0.04
A modular Ruby toolkit for building clean, correct, and robust CLI commands as plain-old Ruby classes.
2020
2021
2022
2023
2024
2025
0.03
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.
2020
2021
2022
2023
2024
2025
0.03
Samovar is a flexible option parser excellent support for sub-commands and help documentation.
2020
2021
2022
2023
2024
2025
0.03
OptionParser based CLI support for rapid CLI development in an object-oriented
context.
This library wraps Ruby's OptionParser for parsing your options under the hood,
so you get all the goodness that the Ruby standard library provides.
On top of that it adds a rich and powerful DSL for definin...
2020
2021
2022
2023
2024
2025
0.03
Parser for command line arguments, keywords, flags, options and environment variables.
2020
2021
2022
2023
2024
2025
0.02
Command-line arguments to hash
2020
2021
2022
2023
2024
2025
0.02
Command Line Interface gem allows you to quickly specify command argument parser that will automatically generate usage, handle stdin, switches, options and arguments with default values and value casting
2020
2021
2022
2023
2024
2025
0.02
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.
2020
2021
2022
2023
2024
2025
0.02
Subcommand and alias facility (wrapping OptionParser) for command line programs with elegant help printing
2020
2021
2022
2023
2024
2025
0.01
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.
2020
2021
2022
2023
2024
2025
0.01
A framework for building command-line applications
2020
2021
2022
2023
2024
2025
0.01
command line argument parser
2020
2021
2022
2023
2024
2025
0.01
Command-line option parser and command interface.
2020
2021
2022
2023
2024
2025
0.01
Command-line input parser that doesn't hate you
2020
2021
2022
2023
2024
2025
0.01
Quickl helps you creating commandline ruby programs. From simple commands
with options to complex delegators with subcommands, global and local
options.
2020
2021
2022
2023
2024
2025
0.0
Sensible options parsing
2020
2021
2022
2023
2024
2025
0.0
docopt completion generator
2020
2021
2022
2023
2024
2025
0.0
Parameter specification, validity checking and argument transformations
can be put in one place, default parameters are easily set, and an
automatic usage statement is constructed.
2020
2021
2022
2023
2024
2025
0.0
It's just here to handle arguments provided to Application. Mainly optional via switches. Currently handles plain-text Console arguments.
2020
2021
2022
2023
2024
2025
0.0
Just write the help text for your application and ParseArgv will take care
of your command line. It works sort of the other way around than OptParse,
where you write a lot of code to get a command line parser and generated
help text. ParseArgv simply takes your help text and parses the command
li...
2020
2021
2022
2023
2024
2025
0.0
Yet another options parser. Parses the command-line arguments and parameters. Simple, lightweight with nice DSL declarative approach.
2020
2021
2022
2023
2024
2025
0.0
Embedded commands for Command-Line-Interfaces
2020
2021
2022
2023
2024
2025
0.0
Provides a convenient interface around optparse.
2020
2021
2022
2023
2024
2025
0.0
Parse command-line options into a configuration hash
2020
2021
2022
2023
2024
2025
0.0
A domain specific language for creating composable command line interfaces.
2020
2021
2022
2023
2024
2025
0.0
Como provides low manifest command line option parsing and deployment. The command line options are described in compact table format and option values are stored to conveniently named properties. Como builds command usage information based on the option
table (+ generic program info) and display...
2020
2021
2022
2023
2024
2025
0.0
Brigadier is a DSL that provides the ability to create complex command line tools with support for - sub commands, arguments, options and toggles
2020
2021
2022
2023
2024
2025
0.0
ArgParser is a simple, yet powerful command-line argument parser, with
support for positional, keyword, flag and rest arguments, any of which
may be optional or mandatory.
2020
2021
2022
2023
2024
2025
0.0
Yet another command line option parser in Ruby, based on Perl's Getopt::Long module.
2020
2021
2022
2023
2024
2025
0.0
Extension Command for Dry::CLI which generates a completion script for bash/zsh.
2020
2021
2022
2023
2024
2025