The latest version of cmdargs is 0.10.22-0.

cmdargs

Version 0.2 revision 0 uploaded by NeilMitchell.

Package meta

Synopsis
Command line argument processing
Description

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.

Author
Neil Mitchell <ndmitchell@gmail.com>
Bug reports
n/a
Category
Console
Copyright
Neil Mitchell 2009-2010
Homepage
http://community.haskell.org/~ndm/cmdargs/
Maintainer
Neil Mitchell <ndmitchell@gmail.com>
Package URL
n/a
Stability
Beta

Components