Portability | portable |
---|---|
Stability | unstable |
Maintainer | simon.bergot@gmail.com |
Safe Haskell | Safe-Inferred |
Subparsers allows the creation of complex command line applications organized around commands.
- mkSubParser :: [(Arg, CmdLnInterface a)] -> IO (CmdLnInterface a)
- mkSubParserWithName :: String -> [(Arg, CmdLnInterface a)] -> CmdLnInterface a
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