etc: Declarative configuration spec for Haskell projects

[ configuration, library, mit, system ] [ Propose Tags ] [ Report a vulnerability ]

etc gathers configuration values from multiple sources (cli options, OS environment variables, files) using a declarative spec file that defines where these values are to be found and located in a configuration map.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Flags

Automatic Flags
NameDescriptionDefault
extra

Include extra utilities

Disabled
cli

Include support for cli arguments

Disabled
yaml

Include support to parse YAML files

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.0.0, 0.0.0.1, 0.0.0.2, 0.1.0.0, 0.2.0.0, 0.3.0.0, 0.3.1.0, 0.3.2.0, 0.4.0.0, 0.4.0.1, 0.4.0.2, 0.4.0.3, 0.4.1.0
Change log CHANGELOG.md
Dependencies aeson (>=0.11), ansi-wl-pprint (>=0.6), base (>=4.7 && <5), edit-distance (>=0.2), optparse-applicative (>=0.12), rio (>=0.0.1.0), template-haskell (>=2.11.0.0), text (>=0.0.1.0), typed-process (>=0.1.1), unliftio (>=0.1.1.0), yaml (>=0.8) [details]
Tested with ghc ==8.0.1, ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.2
License MIT
Copyright 2017, 2018 Roman Gonzalez
Author Roman Gonzalez
Maintainer open-source@roman-gonzalez.info
Category Configuration, System
Home page https://github.com/roman/Haskell-etc
Source repo head: git clone https://github.com/roman/Haskell-etc
Uploaded by RomanGonzalez at 2018-08-29T17:02:54Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 7822 total (36 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-08-29 [all 1 reports]

Readme for etc-0.4.1.0

[back to package description]

etc

etc gathers configuration values from multiple sources (cli options, OS environment variables, files) using a declarative spec file that defines where this values are to be found and located in a configuration map.

For more information about etc API and how to use it, see the etc homepage