RubyGems Navigation menu

argser 1.1

Argser (from 'ARGuments parSER') is a library that aims to simplify the process of parsing arguments in command line scripts written in Ruby. It provides an easy way to specify which parameters are valid, their type or format, error conditions, description, etc. In that way, it reduces the need to write code specificaly to parse and validate such arguments. The idea is pretty simple. To be able to use the arguments passed when the script was executed in a easy and consistent way, you only need to specify some general options for the application, a list of parameters and some properties that must hold for both, parameters and what is called the 'remaining array' (an array with strings that don't belong to any parameter).

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 1.7 - January 15, 2013 (8,5 ko)
  2. 1.6 - January 15, 2013 (8,5 ko)
  3. 1.5 - January 15, 2013 (8,5 ko)
  4. 1.4 - January 15, 2013 (8,5 ko)
  5. 1.3 - January 15, 2013 (8,5 ko)
  6. 1.1 - January 14, 2013 (8,5 ko)
Voir toutes les versions (8)

Propriétaires:

Auteurs:

  • Matías Parodi

Total de contrôle SHA 256:

485113c5b5acda61b5b09f8c1d6a24dd955045d34d533c32dd64f6fcb434f343

Total de téléchargements 27 419

Pour cette version 3 745

License:

aucune

Version de Ruby requise: None

Liens: