console-program: Interprets the command line and a config file as commands and options

[ bsd3, console, library, system ] [ Propose Tags ]

This library provides an infrastructure to build command line programs. It provides the following features: - declare any number of "actions" (commands, or modes of operation, of the program); - declare options of the program; - collect options and actions from a configuration file and the command line, and execute the proper action. It provides functionality similar to the "cmdargs" package. Main differences: - console-program does not use unsafePerformIO, and tries to give a more haskellish, referentially transparent interface; - it allows a full tree of "modes", instead of a list, so a command can have subcommands; - it parses a configuration file, in addition to the command line arguments.

Versions [faq],,,,,,,,,,,,,,,,,,,,, (info)
Dependencies ansi-wl-pprint (==0.5.*), base (==4.*), containers (>=0.1 && <0.4), directory (==1.0.*), fez-conf (==1.0.*), parsec-extra (==0.1.*), template-haskell, transformers (==0.2.*), utf8-string (>=0.3.5 && <0.4), utility-ht (==0.0.5.*) [details]
License BSD-3-Clause
Author Arie Peterson
Category System
Source repo head: darcs get
Uploaded by AriePeterson at Mon May 31 12:09:47 UTC 2010
Distributions NixOS:
Downloads 11028 total (628 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-12-29 [all 6 reports]


  • System
    • Console
      • System.Console.Action
      • System.Console.Argument
      • System.Console.Command
      • System.Console.Options


Maintainer's Corner

For package maintainers and hackage trustees