Category

CLI Option Parsers

This category does not have a description yet. You can add one on github!

slop

13.41
A DSL for gathering options and parsing command line flags
 Popularity
Downloads
63,830,665
Stars
886
Forks
57
Watchers
19
 Releases
Current version
4.6.2
Total releases
75
First release
Latest release
 Activity
Issue Closure Rate
97%
Pull Request Acceptance Rate
76%
Average date of last 50 commits
within last year
Reverse Depencencies
408

highline

11.29
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.
 Popularity
Downloads
52,913,919
Stars
1,009
Forks
121
Watchers
26
 Releases
Current version
1.7.10
Total releases
61
First release
Latest release
 Activity
Issue Closure Rate
88%
Pull Request Acceptance Rate
90%
Average date of last 50 commits
within last year
Reverse Depencencies
1,356

trollop

8.66
Trollop 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.
 Popularity
Downloads
21,095,585
 Releases
Current version
2.1.2
Total releases
29
First release
Latest release
 Activity
Reverse Depencencies
771

mixlib-cli

5.27
A simple mixin for CLI interfaces, including option parsing
 Popularity
Downloads
12,835,741
 Releases
Current version
1.7.0
Total releases
10
First release
Latest release
 Activity
Reverse Depencencies
109

cocaine

4.49
A small library for doing (command) lines
 Popularity
Downloads
20,445,269
Stars
802
Forks
54
Watchers
46
 Releases
Current version
0.6.0
Total releases
22
First release
Latest release
 Activity
Issue Closure Rate
100%
Pull Request Acceptance Rate
57%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
87

gli

3.67
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
 Popularity
Downloads
8,949,188
 Releases
Current version
2.17.1
Total releases
72
First release
Latest release
 Activity
Reverse Depencencies
443

commander

1.43
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.
 Popularity
Downloads
5,932,258
Stars
540
Forks
47
Watchers
14
 Releases
Current version
4.4.5
Total releases
32
First release
Latest release
 Activity
Issue Closure Rate
65%
Pull Request Acceptance Rate
70%
Average date of last 50 commits
within last 2 years
Reverse Depencencies
514

clamp

1.43
Clamp provides an object-model for command-line utilities. It handles parsing of command-line options, and generation of usage help.
 Popularity
Downloads
6,250,012
Stars
333
Forks
40
Watchers
11
 Releases
Current version
1.2.1
Total releases
35
First release
Latest release
 Activity
Issue Closure Rate
84%
Pull Request Acceptance Rate
59%
Average date of last 50 commits
within last 2 years
Reverse Depencencies
175

choice

0.88
Choice is a simple little gem for easily defining and parsing command line options with a friendly DSL.
 Popularity
Downloads
3,950,379
Stars
169
Forks
18
Watchers
6
 Releases
Current version
0.2.0
Total releases
9
First release
Latest release
 Activity
Pull Request Acceptance Rate
47%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
88

cri

0.76
Cri allows building easy-to-use command-line interfaces with support for subcommands.
 Popularity
Downloads
3,505,474
Stars
75
Forks
15
Watchers
6
 Releases
Current version
2.10.1
Total releases
26
First release
Latest release
 Activity
Issue Closure Rate
92%
Pull Request Acceptance Rate
84%
Average date of last 50 commits
within last year
Reverse Depencencies
42

docopt

0.35
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!
 Popularity
Downloads
934,024
Stars
434
Forks
32
Watchers
21
 Releases
Current version
0.6.1
Total releases
7
First release
Latest release
 Activity
Issue Closure Rate
76%
Pull Request Acceptance Rate
53%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
85

methadone

0.3
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
 Popularity
Downloads
469,583
Stars
517
Forks
46
Watchers
8
 Releases
Current version
1.9.5
Total releases
42
First release
Latest release
 Activity
Issue Closure Rate
86%
Pull Request Acceptance Rate
80%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
137

cmdparse

0.21
cmdparse provides classes for parsing (possibly nested) commands on the command line; command line options themselves are parsed using optparse.
 Popularity
Downloads
973,758
Stars
14
Forks
3
Watchers
5
 Releases
Current version
3.0.3
Total releases
17
First release
Latest release
 Activity
Issue Closure Rate
100%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
34

OptionParser

0.05
A flexible command line option parser.
 Popularity
Downloads
127,696
 Releases
Current version
0.5.1
Total releases
2
First release
Latest release
 Activity
Reverse Depencencies
26

clap

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.
 Popularity
Downloads
34,543
Stars
89
Forks
6
Watchers
4
 Releases
Current version
1.0.0
Total releases
3
First release
Latest release
 Activity
Issue Closure Rate
100%
Pull Request Acceptance Rate
16%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
34

getopt

0.03
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.
 Popularity
Downloads
148,259
Stars
10
Forks
1
Watchers
1
 Releases
Current version
1.4.4
Total releases
18
First release
Latest release
 Activity
Pull Request Acceptance Rate
100%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
23

acclaim

0.03
Command-line option parser and command interface.
 Popularity
Downloads
139,958
Stars
7
Forks
0
Watchers
1
 Releases
Current version
0.5.1
Total releases
21
First release
Latest release
 Activity
Issue Closure Rate
33%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
1

micro-optparse

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.
 Popularity
Downloads
35,085
Stars
38
Forks
9
Watchers
3
 Releases
Current version
1.2.1
Total releases
11
First release
Latest release
 Activity
Issue Closure Rate
100%
Pull Request Acceptance Rate
28%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
15

optitron

0.03
Sensible options parsing
 Popularity
Downloads
65,941
 Releases
Current version
0.3.3
Total releases
28
First release
Latest release
 Activity
Reverse Depencencies
13

quickl

0.02
Quickl helps you creating commandline ruby programs. From simple commands with options to complex delegators with subcommands, global and local options.
 Popularity
Downloads
44,445
Stars
49
Forks
0
Watchers
2
 Releases
Current version
0.4.3
Total releases
9
First release
Latest release
 Activity
Issue Closure Rate
100%
Pull Request Acceptance Rate
100%
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
11

config_parser

0.01
Parse command-line options into a configuration hash
 Popularity
Downloads
34,390
 Releases
Current version
0.5.5
Total releases
10
First release
Latest release
 Activity
Reverse Depencencies
2

getoptions

0.01
Yet another command line option parser in Ruby, based on Perl's Getopt::Long module.
 Popularity
Downloads
17,951
 Releases
Current version
0.3
Total releases
3
First release
Latest release
 Activity
Reverse Depencencies
7

arg0

0.0
It's just here to handle arguments provided to Application. Mainly optional via switches. Currently handles plain-text Console arguments.
 Popularity
Downloads
6,972
Stars
1
Forks
1
Watchers
1
 Releases
Current version
0.0.3
Total releases
3
First release
Latest release
 Activity
Average date of last 50 commits
more than 2 years ago
Reverse Depencencies
3