cmdtheline: Declarative command-line option parsing and documentation library.

[ console, library, mit ] [ Propose Tags ]

CmdTheLine aims to remove tedium from the definition of command-line programs, producing usage, help and man pages with little effort.

The inspiration was found in Daniel Bunzli's library.

CmdTheLine uses applicative functors to provide a declarative, compositional mechanism for defining command-line programs by lifting regular Haskell functions over argument parsers.

Suggestions, comments, and bug reports are appreciated. Please see the bug and issue tracker at

Changes since 0.1:

[Skip to Readme]
Versions [faq],, 0.1.1,, 0.2.1,, 0.2.2, 0.2.3
Dependencies base (>=4.5 && <5), containers (==0.4.*), directory (>=1.1), filepath (==1.3.*), parsec (==3.1.*), pretty (==1.1.*), process (>=1.1), transformers (==0.3.*) [details]
License MIT
Author Eli Frey
Maintainer Eli Frey <eli.lee.frey gmail com>
Category Console
Home page
Source repo head: git clone git://
Uploaded by EliFrey at Sat Jul 21 21:28:34 UTC 2012
Distributions NixOS:0.2.3
Downloads 10306 total (72 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2015-05-26 [all 8 reports]


  • System
    • Console
      • System.Console.CmdTheLine
        • System.Console.CmdTheLine.Arg
        • System.Console.CmdTheLine.ArgVal
        • System.Console.CmdTheLine.Term
        • System.Console.CmdTheLine.Util


Maintainer's Corner

For package maintainers and hackage trustees

Readme for cmdtheline-

[back to package description]

CmdTheLine v0.2

Command line option parsing with applicative functors.


To install, do

cabal install


All dependencies are provided by the Haskell Platform. See cmdtheline.cabal for library dependencies.


If you have enabled documentation in your cabal config file, after installation you should have a copy of the documentation locally. Otherwise see the Hackage repo.


Please report bugs to the issue tracker.


###master The currently stable branch.

###dev Bug fixes and aditions that don't break compatibility with master.

###0.2 The next release candidate.


MIT - See file 'LICENSE' for details.

Copyright © 2012 Vincent Elisha Lee Frey