./devel/hs-cmdargs, Command line argument processing

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2017Q1, Version: 0.10.13, Package name: hs-cmdargs-0.10.13, Maintainer: szptvlfn

This library provides an easy way to define command line parsers.
Most users will want to use the System.Console.CmdArgs.Implicit module,
whose documentation contains an example.

* System.Console.CmdArgs.Explicit provides a way to write command line parsers
for both single mode programs (most programs) and multiple mode programs
(e.g. darcs or cabal). Parsers are defined by constructing a data structure.

* System.Console.CmdArgs.Implicit provides a way to concisely define
command line parsers, up to three times shorter than getopt.
These parsers are translated into the Explicit data type.

* System.Console.CmdArgs.GetOpt provides a wrapper allowing compatiblity
with existing getopt parsers, mapping to the Explicit data type.

For a general reference on what command line flags are commonly used,
see http://www.faqs.org/docs/artu/ch10s05.html.


Master sites:

SHA1: e9477122ccea8d2e0d77d961b191932b2f3e018e
RMD160: 52ec121615ce553d7dbeb22c3c60b9383c0c16ff
Filesize: 62.508 KB

Version history: (Expand)