etc

Declarative configuration spec for Haskell projects

https://github.com/roman/Haskell-etc

Version on this page:0.1.0.0
LTS Haskell 18.28:0.4.1.0
Stackage Nightly 2022-02-07:0.4.1.0
Latest on Hackage:0.4.1.0

See all snapshots etc appears in

MIT licensed by Roman Gonzalez
Maintained by [email protected]
This version can be pinned in stack with:etc-0.1.0.0@sha256:0e5fa4b30deae305817a3bf9c2f7542e0ef236ee99aaba7ab612ebf6f008f525,3791

Module documentation for 0.1.0.0

  • System
    • System.Etc
      • System.Etc.Internal
        • System.Etc.Internal.Config
        • System.Etc.Internal.Resolver
          • System.Etc.Internal.Resolver.Default
          • System.Etc.Internal.Resolver.Env
          • System.Etc.Internal.Resolver.File
        • System.Etc.Internal.Spec
          • System.Etc.Internal.Spec.JSON
          • System.Etc.Internal.Spec.Types
        • System.Etc.Internal.Types
      • System.Etc.Spec

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

Changes

0.1.0.0

  • Add support for null values on Default (issue #3)
  • If cli cabal flag is false, have parseConfigSpec return ConfigSpec () instead of ambiguous FromJSON value (issue #3)
  • Bump aeson dependency to <1.3

0.0.0.2

  • Rename System.Etc.Internal.Util module to System.Etc.Internal.Extra
  • Rename cabal flag from printer to extra
  • Add feature for Environment Variable misspelling reports
  • Add misspelling reports to example projects
  • Improvements on README

0.0.0.1

  • Various changes to source code to comply with previous resolvers
    • Use Monoid instead of Semigroup
    • Remove unused imports/typeclasses
  • Bump upper limits for aeson and vector
  • Improve README.md typos
  • Add CHANGELOG