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,767 of 192,323
Downloads: 64,925

Daily

Ranking: 25,368 of 192,290
Downloads: 16

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,358,877,896bundler
81,298,797,304rake
29972,929,796rspec
84063,702,758trollop

Owners

#GravatarHandle
1iconjwliechty