Path to this page:
./
devel/hs-cmdargs,
Command line argument processing
Branch: pkgsrc-2020Q1,
Version: 0.10.20,
Package name: hs-cmdargs-0.10.20,
Maintainer: szptvlfnThis 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: ec596ca3c730ee8b05ce1d8a16cad622ed5f43fe
RMD160: cc97260d24977a65cf2a0d19cec1cd5f670e5a66
Filesize: 63.037 KB
Version history: (Expand)
- (2020-04-20) Package has been reborn
- (2020-04-19) Package added to pkgsrc.se, version hs-cmdargs-0.10.20 (created)