cmdlib-0.2.1: cmdlib.cabal
name: cmdlib
version: 0.2.1
synopsis: a library for command line parsing & online help
description: An alternative to cmdargs, based on getopt. Comes with a powerful
attribute system. Supports complex interfaces with many options
and commands, with option & command grouping, while at the same
time keeping simple things simple.
-- The license under which the package is released.
-- copyright:
license: BSD3
license-file: LICENSE
-- The package author(s).
author: Petr Rockai
maintainer: me@mornfall.net
category: System
build-type: Simple
extra-source-files: testrec.sh
-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.6
source-repository head
type: darcs
location: http://repos.mornfall.net/cmdlib
Library
exposed-modules: System.Console.CmdLib
other-modules: System.Console.CmdLib.Attribute
System.Console.CmdLib.Flag
System.Console.CmdLib.Command
System.Console.CmdLib.ADTs
System.Console.CmdLib.Record
build-depends: base < 5, syb, mtl, split
flag test
default: False
description: Build test binaries
Executable cmdlib-test
if !flag(test)
buildable: False
main-is: testcmd.hs
Executable cmdlib-rectest
if !flag(test)
buildable: False
main-is: testrec.hs