parseargs: Parse command-line arguments

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Full-featured command-line argument parsing library.


[Skip to Readme]

Properties

Versions 0.1, 0.1.2, 0.1.3, 0.1.3.1, 0.1.3.2, 0.1.3.4, 0.1.3.5, 0.1.5.2, 0.2, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.0.4, 0.2.0.7, 0.2.0.8, 0.2.0.8, 0.2.0.9
Change log None available
Dependencies base (<5), containers (<1) [details]
License BSD-3-Clause
Copyright Copyright (c) 2007 Bart Massey
Author Bart Massey <bart@cs.pdx.edu>
Maintainer Bart Massey <bart@cs.pdx.edu>
Category Console
Home page http://github.com/BartMassey/parseargs
Source repo head: git clone git://github.com/BartMassey/parseargs.git
this: git clone git://github.com/BartMassey/parseargs.git(tag v0.2.0.7)
Uploaded by BartonMassey at 2019-02-07T09:14:00Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for parseargs-0.2.0.8

[back to package description]

parseargs: Command-line argument parsing for Haskell programs

Copyright (c) 2007 Bart Massey

This library provides System.Console.Parseargs, a module to assist in argument parsing for Haskell stand-alone command line programs.

The package provides a Haskell command-line argument "parser". You supply a specification of the arguments to your command-line program; parseargs reads the arguments and checks that they meet your spec. It then fills in a data structure that captures the relevant data, from which parsed arguments can be extracted as needed. See the Haddock documentation for the gory details.

I have used this code with ghc 6 and later on Linux. It is a fairly standard Hackage-ready package, to the extent I know how to construct such.

This library is not what I set out to build. It definitely could also use some work. However, I use it all the time for writing little programs. I thought others might find it useful, and I also have released other code that depends on it, so I put it out there.

Have fun with it, and let me know if there are problems.

Release History

License

This program is licensed under the "3-clause ('new') BSD License". Please see the file COPYING in this distribution for license terms.