úÎwvoĥa      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_` (c) Simon Bergot BSD3 simon.bergot@gmail.com  unstable  portable  Safe-Inferred<A command line application, with a parser and a description The argument parser The special flags 2The application name. Usally the binary name. Optional application version Optional description Optional epilog OA special parser allowing to perform standard actions. Used for versionhelp subparsers. yA special action with more possibilities. The full arg list will be provided, with the command line spec itself.  Represent a full parameter spec A parser actual function &Data structure describing a parameter *Short description of the parameter format +Category of parameter (optional/mandatory) #Format of the parameter to provide Description of the parameter *Description of the parameter in the usage sType representing the result of the parse. Right val in case of success or Left msg if there was an error. RStructured args to be parsed. Pair of (positionnal arguments, flag arguments) (Flag collection with corresponding args List of args provided Simple command line arg DReturns a short description of the input format of a parameter. CReturns a long description of the input format of a parameter. #  !" # "!     !"(c) Simon Bergot BSD3 simon.bergot@gmail.com  unstable  portable  Safe-Inferred#Dinterface allowing to define a basic block of a command line parser & Converts any # to a   '#Build a parser from a parser and a # 6MyApp `parsedBy` myparamspec `andBy` myotherparamspec (-Build a parser from a type constructor and a # MyApp `parsedBy` myparamspec )This is ( with a different fixity. #$%&'()a#$%&'()#$%&(')#$%&'()a'()(c) Simon Bergot BSD3 simon.bergot@gmail.com  unstable  portable  Safe-Inferred *zDefines a parameter consuming arguments on the command line. The source defines whether the arguments are positional:  myprog posarg1 posarg2 ... ... or are taken from a flag:  &myprog --myflag flagarg1 flagarg2 ...  short form:   myprog -m flagarg1 flagarg2 ... OOne can provide two signatures of parsing function using the 'ArgParser type': .1 means that the parameter expect exactly one arg -4 means that the parameter expect any number of args ,<Defines the number of args consumed by a standard parameter -Uses any number of args .Uses exactly one arg /ˆDefines whether a parameter is mandatory or optional. When a parameter is marked as Optional, a default value must be provided. 2>Defines the source of a parameter: either positional or flag. 5kAllows the user to provide a description for a particular parameter. Can be used as an infix operator: )myparam `Descr` "this is my description" 9kAllows the user to provide a description for a particular parameter. Can be used as an infix operator: )myparam `Descr` "this is my description" =ıA simple command line flag. The parsing function will be passed True if the flag is present, if the flag is provided to the command line, and False otherwise. For a key foo, the flag can either be --foo or -f ?Specify the format of a flag @Only long format ie --foo APossible short format ie -f or --foo BLidentifier used to specify the name of a flag or a positional argument. -*+,-./0123456789:;<=>b?@ABcdefghijklmnopqrstu*+,-./0123456789:;<=>?@AB*+243?A@,.-/10B=>9:;<5678*+,.-/1024356789:;<=>b?A@Bcdefghijklmnopqrstu569:(c) Simon Bergot BSD3 simon.bergot@gmail.com  unstable  portable  Safe-Inferred CŞA typeclass used to define a way a converting string to specific types. It is similar to read. The main difference is that strings are parsed without quotes. ,rawRead "foo" :: Maybe String == Just "foo" vZSame function as Text.Read.readMaybe. It is redefined here for compatibility purpose DĥA simple command line flag. The parsing function will return True if the flag is present, if the flag is provided to the command line, and False otherwise. For a key foo, the flag can either be --foo or -f E*A mandatory positional argument parameter F*An optional positional argument parameter G$A mandatory flag argument parameter H$An optional flag argument parameter I>A parameter consuming all the remaining positional parameters J>A mandatory flag argument parameter taking multiple arguments K>An optional flag argument parameter taking multiple arguments CwvxyzD flag key E Param name FDefault value  Param name G Flag name HDefault value  Flag name {I Param name Initial value Accumulation function J Flag name Initial value Accumulation function KDefault value  Flag name Initial value Accumulation function |}~ CDEFGHIJK DGHEFJKICCwvxyzDEFGH{IJK|}~(c) Simon Bergot BSD3 simon.bergot@gmail.com  unstable  portable  Safe-InferredL2Separate positional arguments from flag arguments €‚ƒ„L…†‡ˆ‰LL€‚„ƒL…†‡ˆ‰(c) Simon Bergot BSD3 simon.bergot@gmail.com  unstable  portable  Safe-InferredM!Specification of the help layout R*Default specification for the help layout S(Prints the application name and version TPrints a long usage such as  foo bar [bay] MNOPQRSTŠ‹ŒŽMNOPQRSTTSMNOPQR MNOPQRSTŠ‹ŒŽ(c) Simon Bergot BSD3 simon.bergot@gmail.com  unstable  portable  Safe-Inferred URuns a command line application with the user provided arguments. If the parsing succeeds, run the application. Print the returned message otherwise VYRuns an apllication with the user provided arguments. It is a shorter way of calling Z and U WBParse the arguments with the parser provided to the function. XBParse the arguments with the parser provided to the function. Y)default version and help special actions Z]Build an application with no version/description and with a name equal to the file name. [cBuild an application with no version/description and with a name equal to the provided String. \$Set the description of an interface ]$Set the bottom text of an interface ^Set the name of an interface UCommand line spec &Process to run if the parsing success VWArguments to parse Command line spec XArguments to parse Command line spec YZ[\]^ UVWXYZ[\]^ VUWXZ[Y\]^ UVWXYZ[\]^(c) Simon Bergot BSD3 simon.bergot@gmail.com  unstable  portable  Safe-Inferred_2Create a parser composed of a list of subparsers. VEach subparser is associated with a command which the user must type to activate. `1Same that "mkSubParser" but allows a custom name ‘’“”_`•–—_`_`‘’“”_`•–— (c) Simon Bergot BSD3 simon.bergot@gmail.com  unstable  portable  Safe-Inferred3 '(9:DEFGHIJKUVWZ[\]_('Z[9:\]_VUWDGHEFJKI˜      !"#$%&'()*+,-./00123456789::;<==>?@@ABCDEFGHIJKLMNOOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚89ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”argparser-0.3.4!System.Console.ArgParser.BaseTypeSystem.Console.ArgParser.ParserSystem.Console.ArgParser.Params$System.Console.ArgParser.QuickParams$System.Console.ArgParser.ArgsProcessSystem.Console.ArgParser.FormatSystem.Console.ArgParser.Run"System.Console.ArgParser.SubParserSystem.Console.ArgParserCmdLnInterface cmdArgParser specialFlags getAppName getAppVersion getAppDescr getAppEpilog SpecialFlag SpecialAction ParserSpecgetParserParams getParserFunParser ParamDescr argUsageFmt argCategory argFormatargDescr argMetaVar ParseResultNiceArgsFlagsArgsArg emptyArgsargUsage getArgFormat$fApplicativeParser$fFunctorParser$fApplicativeParserSpec$fFunctorParserSpec ParamSpec getParser getParamDescr liftParamandByparsedBy subParser StdArgParam ArgParserMulipleArgParserSingleArgParser OptionalityOptional MandatoryArgSrcPosFlagMetaVar getmvvalue getusermvarDescr getdvalue getuserdescr FlagParam FlagFormatLongShortKeyRawReadboolFlagreqPosoptPosreqFlagoptFlagposArgs reqFlagArgs optFlagArgs preprocess CmdLineFormat maxKeyWidthkeyIndentWidth maxDescrWidth defaultFormatshowCmdLineVersionshowCmdLineAppUsagerunAppwithParseResult parseArgs parseNiceArgsdefaultSpecialFlagsmkApp mkDefaultApp setAppDescr setAppEpilog setAppName mkSubParsermkSubParserWithName$fParamSpecParserSpec FlagParser deleteManytakeFlag takeLongFlag takeValidFlagfullFlagformatlongflagformatshortflagformatshortestFlagFmt runFlagParse runPosParse getValFormat choosesrcmissingcategorylogkey$fParamSpecStdArgParam$fParamSpecMetaVar$fParamSpecDescr$fParamSpecFlagParam readMayberawParsedefaultRawParserawReadreadArgreadArgs $fRawReadInt$fRawReadFloat $fRawRead[] $fRawReadCharToken TokenTypeisPosgetWordtokenize collectPos parseFlag groupByKeyformatParamDescrstrim showargformatreflow runParserrunSpecialFlags CommandParam EmptyParam mkSpecialFlag$fParamSpecCommandParam$fParamSpecEmptyParam