| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
OptEnvConf.Run
Documentation
Arguments
| :: HasParser a | |
| => Version | Program version, get this from Paths_your_package_name |
| -> String | Program description |
| -> IO a |
Run runParser on your Settings' type's settingsParser.
This is most likely the function you want to be using.
Arguments
| :: Version | Program version, get this from Paths_your_package_name |
| -> String | Program description |
| -> Parser a | |
| -> IO a |
Run a parser
This function with exit on:
- Parse failure: show a nice error message.
-h|--help: Show help text--version: Show version information--render-man-page: Render a man page--bash-completion-script: Render a bash completion script--zsh-completion-script: Render a zsh completion script--fish-completion-script: Render a fish completion scriptquery-opt-env-conf-completion: Perform a completion query
This gets the arguments and environment variables from the current process.