← categories / category

Command Line Option Parsers

See on ruby-toolbox ↗ Utilities to process arguments to terminal command line programs easily

recent from @rubygems

clamp

a minimal framework for command-line utilities

  • 1.5.2 Mar 21 2026 gem.coop system

cli

Command line argument parser with stdin handling and usage generator

  • 1.4.0 Feb 24 2022 gem.coop system

command_kit

An all-in-one modular Ruby CLI toolkit

  • 0.6.0 Jun 20 2024 gem.coop system

commander

The complete solution for Ruby command-line executables

  • 6.0.0 Aug 02 2026 gem.coop system

dencli

Commands and Subcommands

  • 0.5.6 Feb 09 2022 gem.coop system

docopt-compgen

docopt completion generator

  • 1.6.1 Mar 29 2024 gem.coop system

dry-cli

Common framework to build command line interfaces with Ruby

  • 1.4.1 Jan 21 2026 gem.coop system

dry-cli-completion

Dry::CLI Command to generate a completion script for bash/zsh

  • 2.0.0 Apr 27 2026 gem.coop system

getopt

Getopt::Std and Getopt::Long option parsers for Ruby

  • 1.7.1 May 20 2026 gem.coop system

highline

HighLine is a high-level command-line IO library.

  • 3.1.2 Jan 06 2025 gem.coop system

opt-simple

A simple and elegant command line option parser.

  • 1.1.0 Oct 12 2026 gem.coop system

optimist

Optimist is a commandline option parser for Ruby that just gets out of your way.

  • 3.2.1 Mar 19 2025 gem.coop system

parse-argv

A command line parser that only needs your help text.

  • 0.1.2 Jan 15 2023 gem.coop system

samovar

Samovar is a flexible option parser excellent support for sub-commands and help documentation.

  • 2.5.1 Jun 17 2026 gem.coop system

slop

Simple Lightweight Option Parsing

  • 4.9.3 Sep 30 2022 gem.coop system

sod

A domain specific language for creating composable command line interfaces.

  • 2.5.0 Sep 17 2026 gem.coop system

subcommand

A tiny wrapper over OptionParser giving simple, elegant subcommand facility

  • 1.0.8 Nov 08 2022 gem.coop system

terrapin

Run shell commands safely, even with user-supplied values

  • 1.1.1 Jul 09 2025 gem.coop system

tty-option

An intuitive and flexible command line parser.

  • 0.3.0 May 29 2023 gem.coop system

older from @rubygems

OptionParser

A flexible command line option parser.

  • 0.5.1 Jul 25 2009 gem.coop system

acclaim

Command-line option parser and command interface.

  • 0.5.1 Jun 26 2012 gem.coop system

arg-parser

ArgParser is a simple, yet powerful, command-line argument (option) parser

  • 0.4.1 Jul 04 2019 gem.coop system

arg0

Arg0 is here to handle the ARGs passed to your application.

  • 0.0.3 Mar 26 2013 gem.coop system

bales

Ruby on Bales

  • 0.1.3 Oct 26 2020 gem.coop system

brigadier

Brigadier - Take control of your command line

  • 0.1.2 Feb 16 2016 gem.coop system

choice

Choice is a command line option parser.

  • 0.2.0 Dec 31 2014 gem.coop system

cl

Object-oriented OptionParser based CLI support

  • 1.2.4 Feb 18 2020 gem.coop system

clap

Command line argument parsing for simple applications.

  • 1.0.0 Mar 29 2012 gem.coop system

clint

command line argument parser

  • 0.2.7 Jun 26 2010 gem.coop system

cmdparse

Advanced command line parser supporting commands

  • 3.0.7 Dec 08 2020 gem.coop system

como

Compact command line option parser utility.

  • 0.2.4 Oct 21 2018 gem.coop system

config_parser

Parse command-line options into a configuration hash

  • 0.5.5 Jul 19 2011 gem.coop system

cri

a library for building easy-to-use command-line tools

  • 2.9.1 Jun 03 2017 gem.coop system

cyclops

A command-line option parser based on optparse.

  • 0.3.0 Jun 16 2018 gem.coop system

docopt

A command line option parser, that will make you smile.

  • 0.6.1 Jan 21 2018 gem.coop system

escort

A library that makes building command line apps in ruby so easy, you'll feel like an expert is guiding you through it

  • 0.4.0 Apr 21 2013 gem.coop system

getoptions

Yet another command line option parser in Ruby, based on Perl's Getopt::Long module.

  • 0.3 Jul 25 2009 gem.coop system

gli

Build command-suite CLI apps that are awesome.

  • 2.9.0 Jan 19 2014 gem.coop system

methadone

Kick the bash habit and start your command-line apps off right

  • 2.0.2 Oct 18 2018 gem.coop system

micro-optparse

An lightweight option parser, which is 80 lines short.

  • 1.2.1 Oct 02 2017 gem.coop system

mixlib-cli

A simple mixin for CLI interfaces, including option parsing

  • 2.1.8 Aug 21 2020 gem.coop system

optitron

Sensible options parsing

  • 0.3.3 Jul 21 2011 gem.coop system

optparse-plus

Wrapper around the Standard Library's Option Parser to make CLIs Easier

  • 3.0.1 Feb 14 2021 gem.coop system

oyster

Command-line input parser that doesn't hate you

  • 0.9.5 Jul 19 2011 gem.coop system

quickl

Helper to create commandline ruby programs

  • 0.4.3 Feb 16 2012 gem.coop system

rationalist

parse argument options. a ruby fork of minimist.

  • 2.0.1 Feb 02 2020 gem.coop system

trollop

Trollop is a commandline option parser for Ruby that just gets out of your way.

  • 2.9.9 Aug 24 2018 gem.coop system

yaop

Yet another options parser. Parses the command-line arguments and parameters. Simple, lightweight with nice DSL declarative approach.

  • 0.2.0 Aug 05 2012 gem.coop system