homepage: https://github.com/GaloisInc/config-value-getopt
changelog-type: markdown
hash: d0b1c26019a77beb28aff9a8cf4dc43e2bc3a523a9c4a010f25d95ba40b31a2f
test-bench-deps: {}
maintainer: emertens@galois.com
synopsis: Interface between config-value and System.GetOpt
changelog: ! '0.1.0.0

  -------


  * Initial release

'
basic-deps:
  base: ! '>=4.8 && <4.10'
  text: ! '>=1.2.1.3 && <1.3'
  config-value: ! '>=0.4 && <0.5'
all-versions:
- '0.1.0.0'
author: Eric Mertens
latest: '0.1.0.0'
description-type: markdown
description: ! 'config-value-getopt

  ===================


  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`


  Example:


  ```

  address:       "::"

  port:          9000

  no-access-log: yes

  hostname:      no

  ```


  translates to


  ```

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

  ```


  1. https://hackage.haskell.org/package/base-4.8.2.0/docs/System-Console-GetOpt.html

  2. https://hackage.haskell.org/package/config-value

'
license-name: MIT

Update from Hackage at 2016-05-17T19:19:53+0000
Update from Hackage at 2016-05-17T19:19:53+0000
