@hackage cmdargs0.2
Command line argument processing
Installation
Dependencies (3)
Dependents (338)
@hackage/fuzzytime, @hackage/refh, @hackage/tls-extra, @hackage/khph, @hackage/dephd, @hackage/WordAlignment, Show all…
Package Flags
testprog
(on by default)
Build the test program
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.Explicitprovides 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.Implicitprovides 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.GetOptprovides a wrapper allowing compatiblity with existing getopt parsers, mapping to the Explicit data type.