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: 23,272 of 187,960
Downloads: 63,106

Daily

Ranking: 30,171 of 187,950
Downloads: 15

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,046,650,903bundler
101,177,763,422rake
28930,361,546rspec
80962,818,509trollop

Owners

#GravatarHandle
1iconjwliechty