Command Line Option Parsers
Utilities to process arguments to terminal command line programs easily
5.58
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.
2019
2020
2021
2022
2023
2024
3.28
A DSL for gathering options and parsing command line flags
2019
2020
2021
2022
2023
2024
2.2
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.
2019
2020
2021
2022
2023
2024
2.17
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.
2019
2020
2021
2022
2023
2024
2.11
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
2019
2020
2021
2022
2023
2024
1.36
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.
2019
2020
2021
2022
2023
2024
1.3
A simple mixin for CLI interfaces, including option parsing
2019
2020
2021
2022
2023
2024
1.28
Run shell commands safely, even with user-supplied values
2019
2020
2021
2022
2023
2024
1.03
Clamp provides an object-model for command-line utilities.
It handles parsing of command-line options, and generation of usage help.
2019
2020
2021
2022
2023
2024
0.72
Choice is a simple little gem for easily defining and parsing command line options with a friendly DSL.
2019
2020
2021
2022
2023
2024
0.49
Common framework to build command line interfaces with Ruby
2019
2020
2021
2022
2023
2024
0.37
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!
2019
2020
2021
2022
2023
2024
0.37
Cri allows building easy-to-use command-line interfaces with support for subcommands.
2019
2020
2021
2022
2023
2024
0.24
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
2019
2020
2021
2022
2023
2024
0.2
cmdparse provides classes for parsing (possibly nested) commands on the command line;
command line options themselves are parsed using optparse.
2019
2020
2021
2022
2023
2024
0.2
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
2019
2020
2021
2022
2023
2024
0.12
A flexible command line option parser.
2019
2020
2021
2022
2023
2024
0.07
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.
2019
2020
2021
2022
2023
2024
0.05
A modular Ruby toolkit for building clean, correct, and robust CLI commands as plain-old Ruby classes.
2019
2020
2021
2022
2023
2024
0.04
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.
2019
2020
2021
2022
2023
2024
0.04
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...
2019
2020
2021
2022
2023
2024
0.04
Parser for command line arguments, keywords, flags, options and environment variables.
2019
2020
2021
2022
2023
2024
0.03
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.
2019
2020
2021
2022
2023
2024
0.03
Samovar is a flexible option parser excellent support for sub-commands and help documentation.
2019
2020
2021
2022
2023
2024
0.02
Quickl helps you creating commandline ruby programs. From simple commands
with options to complex delegators with subcommands, global and local
options.
2019
2020
2021
2022
2023
2024
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
2019
2020
2021
2022
2023
2024
0.02
Command-line arguments to hash
2019
2020
2021
2022
2023
2024
0.02
Subcommand and alias facility (wrapping OptionParser) for command line programs with elegant help printing
2019
2020
2021
2022
2023
2024
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.
2019
2020
2021
2022
2023
2024
0.01
A framework for building command-line applications
2019
2020
2021
2022
2023
2024
0.01
command line argument parser
2019
2020
2021
2022
2023
2024
0.01
Command-line option parser and command interface.
2019
2020
2021
2022
2023
2024
0.01
Command-line input parser that doesn't hate you
2019
2020
2021
2022
2023
2024
0.0
Sensible options parsing
2019
2020
2021
2022
2023
2024
0.0
Extension Command for Dry::CLI which generates a completion script for bash/zsh.
2019
2020
2021
2022
2023
2024
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.
2019
2020
2021
2022
2023
2024
0.0
Yet another options parser. Parses the command-line arguments and parameters. Simple, lightweight with nice DSL declarative approach.
2019
2020
2021
2022
2023
2024
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...
2019
2020
2021
2022
2023
2024
0.0
docopt completion generator
2019
2020
2021
2022
2023
2024
0.0
Embedded commands for Command-Line-Interfaces
2019
2020
2021
2022
2023
2024
0.0
Provides a convenient interface around optparse.
2019
2020
2021
2022
2023
2024
0.0
Parse command-line options into a configuration hash
2019
2020
2021
2022
2023
2024
0.0
A domain specific language for creating composable command line interfaces.
2019
2020
2021
2022
2023
2024
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...
2019
2020
2021
2022
2023
2024
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
2019
2020
2021
2022
2023
2024
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.
2019
2020
2021
2022
2023
2024
0.0
It's just here to handle arguments provided to Application. Mainly optional via switches. Currently handles plain-text Console arguments.
2019
2020
2021
2022
2023
2024
0.0
Yet another command line option parser in Ruby, based on Perl's Getopt::Long module.
2019
2020
2021
2022
2023
2024