indexzero/nconf — pull request #13 by dominictarr (2011-11-09 04:23:42+00:00)
Title: new user api that is easier to use and document.

okay, I've made argv and env into stores, so that they work in the same way as any other store. also, I've added a 'literal' store, so that it is easy to hardcode defaults.

then i've added a chainable interface, so you can specify all your config in just a few lines.

if you approve of this, i'll add an option to the file store that looks for a relative path. because we use that fairly often.

this supports how we are handling config most of our projects and will let us kill ~200 lines in jitsu alone.