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,434 of 190,091
Downloads: 64,246

Daily

Ranking: 40,413 of 189,967
Downloads: 7

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,226,262,255bundler
81,250,151,706rake
29955,432,690rspec
83163,342,314trollop

Owners

#GravatarHandle
1iconjwliechty