etc: Declarative configuration spec for Haskell projects
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]
- System
- System.Etc
- Internal
- System.Etc.Internal.Config
- System.Etc.Internal.Errors
- Extra
- System.Etc.Internal.Extra.EnvMisspell
- System.Etc.Internal.Extra.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
- System.Etc.Internal.Resolver.Cli
- Spec
- System.Etc.Internal.Spec.JSON
- System.Etc.Internal.Spec.Parser
- System.Etc.Internal.Spec.Types
- System.Etc.Internal.Spec.YAML
- System.Etc.Internal.Spec.YAML.TH
- System.Etc.Internal.Types
- System.Etc.Spec
- Internal
- System.Etc
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
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
- etc-0.4.1.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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] |