Sha256: de9769274ede2bbc327f93161afed9bfcfe477d81028b51c95c6378edc492c62

Contents?: true

Size: 878 Bytes

Versions: 6

Compression:

Stored size: 878 Bytes

Contents

---
title: About
inMenu: true
orderInfo: 2
---
h2. About @cmdparse@

Some new programs use a "command style" command line. Examples for such programs are the "svn"
program from Subversion and the "gem" program from Rubygems. The standard Ruby distribution has no
library to create programs that use such a command line interface.

This library, cmdparse, can be used to create such a command line interface. Internally it uses
optparse or any other option parser library to parse options and it provides a nice API for
specifying commands and subcommands.

A typical command line for a program which uses commands looks like this:

<pre>
  $ net --verbose ipaddr add 192.168.0.1 193.150.0.1
</pre>


h2. Author

* *Thomas Leitner*
* Web: "http://cmdparse.rubyforge.org":http://cmdparse.rubyforge.org
* e-Mail: "t_leitner@gmx.at":mailto:t_leitner@gmx.at
* GPG Key-Id: 0xD942E7F6

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cmdparse-2.0.5 doc/src/about.page
cmdparse-2.0.4 doc/src/about.page
cmdparse-2.0.3 doc/src/about.page
cmdparse-2.0.2 doc/src/about.page
cmdparse-2.0.0 doc/src/about.page
cmdparse-2.0.1 doc/src/about.page