The console-program package

[Tags:bsd3, library]

This library provides a framework to build command line programs.

The constructed program can have several "commands" that provide different modes of operation. Options can be declared to allow fine-tuning of the behaviour of the program. These options are read from the command line when running the program and from a simple configuration file.

Additionally, there is an interactive mode that reads and executes commands from standard input.

Examples of using this library may be found in the Examples directory in the package tarball.

It provides functionality similar to the cmdargs package. Main differences:


Versions,,,,,,,,,,,,,,,,, (info)
Change log
Dependencies ansi-terminal (>=0.5 && <0.7), ansi-wl-pprint (>=0.5 && <0.7), base (==4.*), containers (>=0.1 && <0.6), directory (>=1.0 && <1.3), haskeline (==0.7.*), parsec (==3.1.*), parsec-extra (==0.1.*), split (==0.2.*), transformers (>=0.2 && <0.5), unix (==2.7.*), utility-ht (==0.0.*) [details]
License BSD3
Author Arie Peterson
Stability Unknown
Category System, Console
Source repository head: darcs get
Uploaded Mon Jan 25 16:06:14 UTC 2016 by AriePeterson
Distributions NixOS:
Downloads 2755 total (37 in the last 30 days)
0 []
Status Docs not available [build log]
All reported builds failed as of 2016-01-25 [all 1 reports]


  • System
    • Console
      • System.Console.Argument
      • System.Console.Command
      • System.Console.Program


Maintainer's Corner

For package maintainers and hackage trustees