RubyGems Navigation menu

trollop-subcommands 0.1.0

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.

Gemfile:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 0.1.0 - October 26, 2015 (8 KB)

Runtime Abhängigkeiten (1):

trollop ~> 2.1

Development Abhängigkeiten (3):

bundler ~> 1.10
rake ~> 10.0
rspec ~> 3.3

Besitzer:

Autoren:

  • Jason Liechty

SHA 256-Prüfsumme:

d91ef38ebd29bbef1803e58396d8c909f8cd3dcedf8e0238075f0f801ce40ed2

Downloads insgesamt 56.029

Für diese Version 56.029

Lizenz:

MIT

Erforderliche Ruby-Version: >= 0

Links: