úÎ!D‰Aq$      !"#Safe2 Rconsole-programA  Command m is an action (in the monad m/), together with some descriptive information.console-program*This determines which command is executed.console-programFor usage info.console-program,The actual action performed by this command.console-program7Prefer shortened subcommands over non-option arguments.console-programA value of type Option aD describes an option, that delivers a value to the program of type a. console-programAn Action m is an action (in the monad mO), which may take arguments ("non-options") and options from the command line.$%&'()*+,-. /012345Safe!ù console-programA Type a. represents the type of an option or argument.AFurther below you can find some common types of option arguments. console-program(Parse the option argument into a value (Right) or signal a parsing error (Left). console-program9A name for this type of option argument (for usage info).console-programCThe default value when the option occurs without option argument. Nothing< means that an argument is required for this type of option.console-programCreate an option description."Options can have arguments, as in myprogram --foo=bar, where bar is the argument to foof. These arguments have types, dictated by the particular option; this type is the third parameter to option.console-programA plain string.console-programHA boolean. Argument can be "1","0","true","false","on","off","yes","no".console-programA natural number (in decimal).console-programAn integer number (in decimal).console-program;A directory path. A trailing slash is stripped, if present.console-program A file path.console-programA device path.console-program List of short option characters.console-programList of long option strings.console-programType of option argument.console-program;Default value when the option is not specified by the user.console-program Description.console-program!The resulting option description.console-programDefault value.  Safe6¼console-program Commands m1 is a tree of commands (with action in the monad mB). It represents the whole set of possible commands of a program.console-program4Create a new command having a given name and action.6console-programSpecify whether abbreviated subcommands are allowed. If not, (sub)commands that do not match exactly are interpreted as non-option arguments.console-program;A simple action, taking no argument, and having no options.console-program5Create an action that takes an argument (non-option).gThe type of argument is specified by the first parameter; such values can be obtained from the module System.Console.Argument.console-program?Create an action that takes all remaining non-option arguments.jThe type of arguments is specified by the first parameter; such values can be obtained from the module System.Console.Argument.console-program&Create an action that takes an option.[The first parameter is a description of the option; such a value can be constructed using .console-program<Create an action that allows, but ignores, the given option.½This is especially useful if this option is given in the configuration file, but is meant for other commands; then this action will not give an error message about an unrecognised option.  Safe7r7NoneXAM console-program˜Load the configuration file (if present), and run the command given on the command line. Settings on the command line override the configuration file.PYou may use this function, applied to your tree of available commands, as your main function.!console-program¦Start an interactive session. Arguments to the program are ignored; instead, the user may repeatedly enter a command, possibly with options, which will be executed."console-programSame as !H, but with a custom monadic function specifying the text of the prompt.#console-program+Print usage info for the program to stdout. !"# !"#8        !"#$%&'()*+,-./0123456789:;.console-program-0.4.2.3-LYX1fljvoyKFIjBZI8sr0tSystem.Console.CommandSystem.Console.ArgumentSystem.Console.ProgramSystem.Console.InternaloptionSystem.Console.ConfigFilecontainers-0.6.0.1 Data.TreeNodeTreeCommandname descriptionactionshortenOptionActionTypeparser defaultValueoptionalstringbooleannaturalinteger directoryfiledevice $fFunctorTypeCommandscommandio withNonOptionwithNonOptions withOption ignoreOptionsingle interactiveinteractiveWithPrompt showUsageConsoleProgramExceptionUnknownCommandSettingsCanonicalSettingSetting IdentifierId OptionNameLongShortignoringOptions nonOptionsoptionsrun UserCommandidentify allowShort readFromFile