RubyGems Navigation menu

argser 1.2

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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.7 - January 15, 2013 (8.5 KB)
  2. 1.6 - January 15, 2013 (8.5 KB)
  3. 1.5 - January 15, 2013 (8.5 KB)
  4. 1.4 - January 15, 2013 (8.5 KB)
  5. 1.3 - January 15, 2013 (8.5 KB)
  6. 1.2 - January 14, 2013 (8.5 KB)
显示所有版本 (共 8 个)

业主:

作者:

  • Matías Parodi

SHA 256 校验和:

e6a3cc335d3ad6af8c46de277f6d8bcd04d223b0511492fa0da2dfcf25d089ab

下载总量 27,529

这个版本 3,752

许可:

需要的 Ruby 版本:

链接: