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,295 of 198,650
Downloads: 67,464

Daily

Ranking: 19,663 of 198,575
Downloads: 13

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,956,487,633bundler
81,466,417,310rake
291,042,067,631rspec
86664,965,394trollop

Owners

#GravatarHandle
1iconjwliechty