Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module defines the MOO command interface, the commnad line options parser, and helpers to manipulate the Command data structure.
- commands :: [Command]
- commandOptionUsage :: String
- findCommand :: String -> Maybe Command
- getCommandArgs :: [String] -> IO (CommandOptions, [String])
- usageString :: Command -> String
Documentation
The available commands; used to dispatch from the command line and used to generate usage output. |The available commands; used to dispatch from the command line and used to generate usage output.
findCommand :: String -> Maybe Command Source
getCommandArgs :: [String] -> IO (CommandOptions, [String]) Source
usageString :: Command -> String Source