Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Command-line options parser.
- data Option
- textDescription :: Description Option -> Text
- textOpt :: Option -> Text
- anyString :: Text -> Consumer [Text] Option Text
- constant :: Text -> Consumer [Text] Option Text
- flag :: Text -> Text -> Consumer [Text] Option Bool
- prefix :: Text -> Text -> Consumer [Text] Option Text
- arg :: Text -> Text -> Consumer [Text] Option Text
Documentation
Description of a commandline option.
textDescription :: Description Option -> Text Source
Make a text description of the command line options.