The env-parser package

[Tags:library, mit]

@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.

Properties

Versions 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.*), 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
Stability Unknown
Category System
Home page http://github.com/tel/env-parser
Source repository head: git clone git://github.com/tel/env-parser.git
Uploaded Fri Jan 24 17:14:47 UTC 2014 by JosephAbrahamson
Distributions
Downloads 768 total (11 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
Successful builds reported [all 5 reports]

Modules

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees