Difference between revisions of "Command line option parsers"

From HaskellWiki
Jump to navigation Jump to search
(convert package list to table)
(details on cmdargs, cmdtheline, optparse-applicative)
Line 9: Line 9:
 
| {{HackagePackage|id=cmdlib}}
 
| {{HackagePackage|id=cmdlib}}
 
|-
 
|-
| {{HackagePackage|id=cmdtheline}}
+
| {{HackagePackage|id=cmdtheline}} || X || . || shows help as man-page
 
|-
 
|-
 
| {{HackagePackage|id=console-program}}
 
| {{HackagePackage|id=console-program}}
Line 21: Line 21:
 
| {{HackagePackage|id=options}}
 
| {{HackagePackage|id=options}}
 
|-
 
|-
| {{HackagePackage|id=optparse-applicative}}
+
| {{HackagePackage|id=optparse-applicative}} || X || . || Applicative Functor
 
|-
 
|-
 
| {{HackagePackage|id=parseargs}}
 
| {{HackagePackage|id=parseargs}}

Revision as of 17:14, 7 November 2012

There are several packages that want to simplify the task of writing command line parsers. Unfortunately, they are distributed across several Hackage categories. Here is an attempt to list them:

Package Multi-mode Extensions Remark
cmdargs X ? unsafePerformIO
cmdlib
cmdtheline X . shows help as man-page
console-program
getflag
hflags
multiarg
options
optparse-applicative X . Applicative Functor
parseargs
ReadArgs
simpleargs
yaop