logo
首页技术栈工具库讨论
configliere

configliere

You've got a script. It's got some settings. Some settings are for this module, some are for that module. Most of them don't change. Except on your laptop, where the paths are different. Or when you're in production mode. Or when you're testing from the command line. "" So, Consigliere of mine, I think you should tell your Don what everyone knows. "" -- Don Corleone Configliere manage settings from many sources: static constants, simple config files, environment variables, commandline options, straight ruby. You don't have to predefine anything, but you can ask configliere to type-convert, require, document or password-obscure any of its fields. Modules can define config settings independently of each other and the main program.
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
RUBYGEMS
gem install configliere
查看
标签
根据用户添加的标签生成
暂无标签