env-parser: Pull configuration information from the ENV

[ library, mit, system ] [ Propose Tags ]

env-parser is a small library for configuring programs based on information from the environment. It's goals and design are similar to that of cmdargs or optparse-applicative@ but aimed at automatically managed programs such as those that might be run via Heroku or Runit/daemontools.

env-parser intentionally sacrifices power for comprehensibility---the primary interface, Parser, implements only Applicative. This provides better runtime error messages and automatically generated static help using parser annotations. It also expresses a principle of simplicity in configuration: arbitrary uses of Monad or even Alternative can lead to opaque failures prior to a program even beginning to run.

Modules

[Last Documentation]

  • System
    • Environment
      • System.Environment.Parser
        • System.Environment.Parser.Database
        • System.Environment.Parser.Encoded
        • System.Environment.Parser.FromEnv

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1.0, 0.0.1.1, 0.0.2, 0.0.2.1
Change log ChangeLog
Dependencies aeson (>=0.6), attoparsec (>=0.10), base (>=4.6 && <4.7), base16-bytestring (>=0.1.1), base64-bytestring (>=1.0), bytestring (>=0.10), containers (>=0.4), http-types (>=0.8), mtl (>=2.1), network (>=2.4), old-locale (>=1.0), text (>=0.11), time (>=1.4), transformers (>=0.3) [details]
License MIT
Copyright 2013 (c) Joseph Abrahamson
Author Joseph Abrahamson
Maintainer me@jspha.com
Category System
Home page http://github.com/tel/env-parser
Source repo head: git clone git://github.com/tel/env-parser.git
Uploaded by JosephAbrahamson at 2014-01-24T17:14:47Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 3262 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Successful builds reported [all 7 reports]