úÎ+'Æ      ! ! !"#$%Get the application arguments Get the application config "#$%"#$%#$% FIt is often simpler to use the default implementation of Command, and 1 override it with the details you choose to use. ' For example, an implementation of the '' hello world'' command:  world = def {  cmdName = "world", $ cmdHandler = worldHandler, $ cmdCategory = "Greetings", O cmdShortDesc = "An implementation of the standard software greeting."  }  1 worldHandler = liftIO $ putStrLn "Hello world!" Name of the cmdcommand Handler Category in this program's documentation  Synopsis Short description  (example description, args)      JIt is often simpler to use the default implementation of Application, and 1 override it with the details you choose to use. ' For example, an implementation of the  ''hello'' command:  hello = def {  appName = "hello",  appVersion = "0.1", ) appAuthors = ["Joe R. Hacker"], + appBugEmail = "bugs@example.com", 6 appShortDesc = "UI.Command example program", ! appLongDesc = longDesc, 4 appCategories = ["Greetings", "Cat Math"], & appSeeAlso = ["tractorgen"], ! appProject = "Haskell", " appCmds = [world, times]  }  D longDesc = "a demonstration program for the UI.Command framework." Name of the program Software version  Email address to report bugs to Names of authors $One-line description of the command  Long description of the command 8Categories to show in help text, in order of appearance %Project that this command is part of Related commands The actual commands 0Union of all options accepted by the application' s commands.  Note that options '-h', -?, '--help', '-V',  '--version' will 2 be automatically added and handled by UI.Command Function to process options    &'(app help3 with no arguments: Give a list of all cmdcommands 5Provide synopses for a specific category of commands )'Provide synopses for internal commands *One-line format for a command -Provide detailed help for a specific command +,-./012#Provide a list of related commands 35Provide synopses for a specific category of commands 456+7+ 89 Main wrapper  main = appMain hello :;<=>?@   A       !"#$%&'(()*+,-./0123456789:;<=>?@ABCDEFui-command-0.5.0 UI.CommandUI.Command.RenderUI.Command.AppUI.Command.CommandUI.Command.ApplicationUI.Command.DocUI.Command.MainAppappArgs appConfigCommandcmdName cmdHandler cmdCategory cmdSynopsis cmdShortDesc cmdExamplesdefCmd ApplicationappName appVersion appBugEmail appAuthors appShortDesc appLongDesc appCategories appProject appSeeAlsoappCmds appOptionsappProcessConfigappMainappMainWithOptionsparaindentquotesurround breakLines englishList AppContextappContextConfigappContextArgs internalCmdslongHelp categoryHelp internalHelp contextHelpmanCmdmanSH headerMan synopsisMan authorsMandescManlongMan seeAlsoMan categoryMan contextManhelpCmdhelpmaninitApp processArgs helpStringsversionStringsisHelp isVersionshowHelp showVersion handleCommand