config-value-getopt-0.1.1.1: Interface between config-value and System.GetOpt

Safe HaskellSafe
LanguageHaskell2010

Config.GetOpt

Synopsis

Documentation

configValueGetOpt :: [OptDescr a] -> Value p -> ([a], [String]) Source #

Process the given list of options using a configuration Value. The configuration value must be a section map. The section names correspond to the long-names of the options.

Arguments with required parameters should have the option value follow immediately. To omit a parameter to an option, set it to yes.

To omit an option entirely, set it to no or remove it from the file.

Options can be provided as decimal literals or string literals.