etc: Declarative configuration spec for Haskell projects

[ configuration, library, mit, system ] [ Propose Tags ]

Please see README.md


[Skip to Readme]

Modules

[Last Documentation]

  • System
    • System.Etc
      • Internal
        • System.Etc.Internal.Config
        • System.Etc.Internal.Printer
        • Resolver
          • System.Etc.Internal.Resolver.Cli
            • System.Etc.Internal.Resolver.Cli.Command
            • System.Etc.Internal.Resolver.Cli.Common
            • System.Etc.Internal.Resolver.Cli.Plain
          • System.Etc.Internal.Resolver.Default
          • System.Etc.Internal.Resolver.Env
          • System.Etc.Internal.Resolver.File
        • Spec
          • System.Etc.Internal.Spec.JSON
          • System.Etc.Internal.Spec.Types
          • System.Etc.Internal.Spec.YAML
        • System.Etc.Internal.Types
      • System.Etc.Spec

Flags

Automatic Flags
NameDescriptionDefault
printer

Include support for config printer

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

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

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
Dependencies aeson (>=1.0 && <1.1), ansi-wl-pprint (>=0.6 && <0.7), base (>=4.8 && <5), bytestring (>=0.10 && <0.11), containers (>=0.5 && <0.6), directory (>=1.3 && <1.4), exceptions (>=0.8 && <0.9), hashable (>=1.2 && <1.3), optparse-applicative (>=0.13 && <0.14), protolude (>=0.1 && <0.2), text (>=1.2 && <1.3), unordered-containers (>=0.2 && <0.3), vector (>=0.11 && <0.12), yaml (>=0.8 && <0.9) [details]
License MIT
Copyright 2017 Roman Gonzalez
Author Roman Gonzalez
Maintainer romanandreg@gmail.com
Revised Revision 1 made by HerbertValerioRiedel at 2018-08-29T17:51:25Z
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 2017-04-06T18:12:28Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 7592 total (48 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2017-04-06 [all 2 reports]

Readme for etc-0.0.0.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