Categories: None [Edit]

trollop-subcommands

https://rubygems.org/gems/trollop-subcommands
https://github.com/jwliechty/trollop-subcommands
Though Trollop has the ability to support subcommands, I find myself implementing the same logic repeatedly. The abstraction of this logic is now in trollop-subcommands. This provides a framework for parsing command line options for ruby scripts that have subcommands. The format is 'script_name [global_options] subcommand [subcommand_options]'. The framework supports all the typical scenarios around these type of command line scripts. All that need to be specified are the trollop configurations for the global options and each subcommand options. See the readme for more information.

Total

Ranking: 24,233 of 197,176
Downloads: 66,801

Daily

Ranking: 18,474 of 197,134
Downloads: 25

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,808,085,190bundler
81,431,205,233rake
291,026,510,267rspec
85764,797,686trollop

Owners

#GravatarHandle
1iconjwliechty