summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/cmdargs/metadata.xml')
-rw-r--r--dev-haskell/cmdargs/metadata.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-haskell/cmdargs/metadata.xml b/dev-haskell/cmdargs/metadata.xml
new file mode 100644
index 000000000000..30d92e9f032d
--- /dev/null
+++ b/dev-haskell/cmdargs/metadata.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ This library provides an easy way to define command line parsers. Most users
+ will want to use the &quot;System.Console.CmdArgs.Implicit&quot; module, whose
+ documentation contains an example.
+
+ * &quot;System.Console.CmdArgs.Explicit&quot; 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.
+
+ * &quot;System.Console.CmdArgs.Implicit&quot; 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.
+
+ * &quot;System.Console.CmdArgs.GetOpt&quot; 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>
+</pkgmetadata>