Category

Command Line Option Parsers

Utilities to process arguments to terminal command line programs easily

10.59
A long-lived project that still receives updates
A DSL for gathering options and parsing command line flags
 Popularity
Downloads
72,933,822
Stars
917
Forks
55
Watchers
17
 Releases
Current version
4.6.2
Total releases
75
First release
Latest release
 Activity
Issue Closure Rate
96%
Pull Request Acceptance Rate
77%
Average date of last 50 commits
Reverse Dependencies
420
9.13
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.
 Popularity
Downloads
61,857,730
Stars
1,069
Forks
121
Watchers
25
 Releases
Current version
2.0.0
Total releases
62
First release
Latest release
 Activity
Issue Closure Rate
87%
Pull Request Acceptance Rate
90%
Average date of last 50 commits
Reverse Dependencies
1,369
4.05
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.
 Popularity
Downloads
28,192,397
Stars
132
Forks
24
Watchers
15
 Releases
Current version
2.9.9
Total releases
31
First release
Latest release
 Activity
Issue Closure Rate
63%
Pull Request Acceptance Rate
83%
Average date of last 50 commits
Reverse Dependencies
749
4.04
No release in over a year
A simple mixin for CLI interfaces, including option parsing
 Popularity
Downloads
14,271,783
 Releases
Current version
1.7.0
Total releases
10
First release
Latest release
 Activity
Reverse Dependencies
110
3.58
Repository is archived
Low commit activity in last 3 years
A long-lived project that still receives updates
A small library for doing (command) lines
 Popularity
Downloads
23,527,783
Stars
806
Forks
56
Watchers
50
 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
Reverse Dependencies
83
3.14
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
 Popularity
Downloads
11,083,276
 Releases
Current version
2.18.0
Total releases
74
First release
Latest release
 Activity
Reverse Dependencies
458
1.21
A long-lived project that still receives updates
Clamp provides an object-model for command-line utilities. It handles parsing of command-line options, and generation of usage help.
 Popularity
Downloads
7,681,684
Stars
353
Forks
40
Watchers
11
 Releases
Current version
1.3.0
Total releases
36
First release
Latest release
 Activity
Issue Closure Rate
96%
Pull Request Acceptance Rate
63%
Average date of last 50 commits
Reverse Dependencies
188
1.2
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.
 Popularity
Downloads
7,164,538
Stars
588
Forks
51
Watchers
15
 Releases
Current version
4.4.7
Total releases
34
First release
Latest release
 Activity
Issue Closure Rate
68%
Pull Request Acceptance Rate
69%
Average date of last 50 commits
Reverse Dependencies
524
0.76
No release in over 3 years
Low commit activity in last 3 years
Choice is a simple little gem for easily defining and parsing command line options with a friendly DSL.
 Popularity
Downloads
4,945,771
Stars
171
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
Reverse Dependencies
88
0.63
A long-lived project that still receives updates
Cri allows building easy-to-use command-line interfaces with support for subcommands.
 Popularity
Downloads
4,155,452
Stars
84
Forks
16
Watchers
6
 Releases
Current version
2.15.2
Total releases
33
First release
Latest release
 Activity
Issue Closure Rate
90%
Pull Request Acceptance Rate
86%
Average date of last 50 commits
Reverse Dependencies
46
0.4
Low commit activity in last 3 years
A long-lived project that still receives updates
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
1,831,142
Stars
442
Forks
36
Watchers
21
 Releases
Current version
0.6.1
Total releases
7
First release
Latest release
 Activity
Issue Closure Rate
76%
Pull Request Acceptance Rate
50%
Average date of last 50 commits
Reverse Dependencies
88
0.27
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
 Popularity
Downloads
680,738
Stars
524
Forks
46
Watchers
8
 Releases
Current version
2.0.2
Total releases
45
First release
Latest release
 Activity
Issue Closure Rate
94%
Pull Request Acceptance Rate
84%
Average date of last 50 commits
Reverse Dependencies
140
0.16
Low commit activity in last 3 years
No release in over a year
cmdparse provides classes for parsing (possibly nested) commands on the command line; command line options themselves are parsed using optparse.
 Popularity
Downloads
1,073,946
Stars
15
Forks
4
Watchers
5
 Releases
Current version
3.0.3
Total releases
17
First release
Latest release
 Activity
Issue Closure Rate
100%
Pull Request Acceptance Rate
100%
Average date of last 50 commits
Reverse Dependencies
33
0.05
No release in over 3 years
A flexible command line option parser.
 Popularity
Downloads
159,457
 Releases
Current version
0.5.1
Total releases
2
First release
Latest release
 Activity
Reverse Dependencies
26
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.
 Popularity
Downloads
159,733
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
Reverse Dependencies
23
0.03
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.
 Popularity
Downloads
40,518
Stars
90
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
Reverse Dependencies
35
0.02
No release in over 3 years
Sensible options parsing
 Popularity
Downloads
67,283
 Releases
Current version
0.3.3
Total releases
28
First release
Latest release
 Activity
Reverse Dependencies
13
0.02
No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
Command-line option parser and command interface.
 Popularity
Downloads
141,868
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
Reverse Dependencies
1
0.02
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.
 Popularity
Downloads
37,117
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
Reverse Dependencies
15
0.02
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.
 Popularity
Downloads
46,179
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
Reverse Dependencies
11
0.01
No release in over 3 years
Yet another command line option parser in Ruby, based on Perl's Getopt::Long module.
 Popularity
Downloads
26,282
 Releases
Current version
0.3
Total releases
3
First release
Latest release
 Activity
Reverse Dependencies
7
0.01
No release in over 3 years
Parse command-line options into a configuration hash
 Popularity
Downloads
35,498
 Releases
Current version
0.5.5
Total releases
10
First release
Latest release
 Activity
Reverse Dependencies
2
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.
 Popularity
Downloads
7,221
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
Reverse Dependencies
3