|
The Art of Computational Science
Command Line Options
|
|
The clop program parses command line options, using a description
of each option that is given at the end of a Ruby code in yaml style
notation. Full information about clop can be found in:
We provide the following entry points, each roughly a factor ten
longer than the previous one:
- Name: Clop
- Title: Clop: a command line option parser
- Description:
The clop function can be invoked from within a Ruby code, in order to
parse command line option values that are provided by the user of that
code. The definitions of the options are specified in a series of blocks,
one for each option, at the end of the Ruby code in which the clop function
is invoked, in a style that is close to that used in yaml.
- Summary (1 page)
- Introduction (10 pages)
- Primer (100 pages)
Back to ACS toolbox page.
Back to ACS home page.