argparser-0.3.3: Command line parsing framework for console applications

Portabilityportable
Stabilityunstable
Maintainersimon.bergot@gmail.com
Safe HaskellSafe-Inferred

System.Console.ArgParser.SubParser

Description

Subparsers allows the creation of complex command line applications organized around commands.

Synopsis

Documentation

mkSubParser :: [(Arg, CmdLnInterface a)] -> IO (CmdLnInterface a)Source

Create a parser composed of a list of subparsers.

Each subparser is associated with a command which the user must type to activate.

mkSubParserWithName :: String -> [(Arg, CmdLnInterface a)] -> CmdLnInterface aSource

Same that mkSubParser but allows a custom name