summaryrefslogtreecommitdiff
path: root/dev-haskell/cmdargs/metadata.xml
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/cmdargs/metadata.xml
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/cmdargs/metadata.xml')
-rw-r--r--dev-haskell/cmdargs/metadata.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-haskell/cmdargs/metadata.xml b/dev-haskell/cmdargs/metadata.xml
new file mode 100644
index 000000000000..d07cc4fd7c80
--- /dev/null
+++ b/dev-haskell/cmdargs/metadata.xml
@@ -0,0 +1,35 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ 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 &lt;http://www.faqs.org/docs/artu/ch10s05.html&gt;.
+ </longdescription>
+ <use>
+ <flag name="testprog">Build the test program</flag>
+ <flag name="quotation">Build quote module</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">ndmitchell/cmdargs</remote-id>
+ </upstream>
+</pkgmetadata>