logo
首页技术栈工具库讨论
env-parser

env-parser

@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.
由 
bruceshi2021-01-15 收录
--
推荐
不推荐
更多信息
GitHub icontel/env-parser6
HACKAGE
carbal install env-parser
查看
标签
根据用户添加的标签生成
暂无标签