./devel/hs-cmdargs, Command line argument processing

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.10.21nb5, Package name: hs-cmdargs-0.10.21nb5, Maintainer: szptvlfn

This library provides an easy way to define command line parsers.
Most users will want to use the System.Console.CmdArgs.Implicit module,
whose documentation contains an example.

* System.Console.CmdArgs.Explicit provides a way to write command line parsers
for both single mode programs (most programs) and multiple mode programs
(e.g. darcs or cabal). Parsers are defined by constructing a data structure.

* System.Console.CmdArgs.Implicit provides a way to concisely define
command line parsers, up to three times shorter than getopt.
These parsers are translated into the Explicit data type.

* System.Console.CmdArgs.GetOpt provides a wrapper allowing compatiblity
with existing getopt parsers, mapping to the Explicit data type.

For a general reference on what command line flags are commonly used,
see http://www.faqs.org/docs/artu/ch10s05.html.


Required to run:
[math/hs-semigroups] [lang/ghc88]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 63.371 KB

Version history: (Expand)


CVS history: (Expand)


   2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872)
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
   2022-02-12 09:51:00 by Masatake Daimon | Files touched by this commit (575)
Log message:
revbump after changing the default Haskell compiler
   2022-01-18 03:48:33 by Masatake Daimon | Files touched by this commit (541)
Log message:
Bump packages that depends on GHC
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-05-03 21:01:21 by Masatake Daimon | Files touched by this commit (475)
Log message:
*: Bump PKGREVISION for ghc-9.0.1
   2021-04-23 10:49:16 by Masatake Daimon | Files touched by this commit (4)
Log message:
Update to cmdargs-0.10.21

0.10.21, released 2021-02-14
    Handle GHC 9.0 optimisations
    Remove support for GHC 7.4 to 7.8
   2020-05-11 19:52:21 by Roland Illig | Files touched by this commit (190)
Log message:
hs-*: add PLIST files

These PLIST files have been autogenerated by mk/haskell.mk using
HS_UPDATE_PLIST=yes during a bulk build.  They will help to track changes
to the packages.  The Haskell packages didn't have PLIST files because
their paths contained package hashes.  These hashes are now determined by
mk/haskell.mk, which makes it easy to generate easy to read PLIST files.