You may pass in an object, a filename, the string "ARGV", or the string "ENV".
Options passed in later will override attributes with the same name from previous options.
Arguments may be passed in any order.
var confrodo =configfilename = "myconfig.json"defaults = "foo":"bar" "meow":"mix" ;config = ;
Objects are json objects (not arrays).
"ARGV" will load any command line options (see optimist.)
"ENV" will load environment variables.
Confrodo also has an
env property you can use to choose a file:
var confrodo =filename = __dirname + "/" + confrodoenv + ".json"config = ;
confrodo.env will be
"local", unless the
environment variable is set, or
env is passed as a command
See LICENSE for copyright info.