env-parser
Version 0.0.2 revision 0 uploaded by JosephAbrahamson.
Package meta
- Synopsis
- Pull configuration information from the ENV
- Description
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
cmdargsor
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 onlyApplicative
. 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 ofMonad
or evenAlternative
can lead to opaque failures prior to a program even beginning to run.- Author
- Joseph Abrahamson
- Bug reports
- n/a
- Category
- System
- Copyright
- 2013 (c) Joseph Abrahamson
- Homepage
- http://github.com/tel/env-parser
- Maintainer
- me@jspha.com
- Package URL
- n/a
- Stability
- n/a