Interface between config-value and System.GetOpt

Latest on Hackage:

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

MIT licensed by Eric Mertens
Maintained by


The config-value-getopt package allows GetOpt[1] specified options to be loaded from a configuration file in the config-value[2] format.

  • config-value section names are matched against the "long" option names in GetOpt.
  • Argument values can be provided as strings or numbers
  • An option will be omitted if its value is set to no
  • An option's argument will be omitted if its value is set to yes


address:       "::"
port:          9000
no-access-log: yes
hostname:      no

translates to

--address="::" --port="9000" --no-access-log


  • Support config-value-0.6

  • Initial release
Depends on 3 packages:
Used by 1 package:
comments powered byDisqus