2011-09-19 01:37:01 +00:00
|
|
|
/*
|
|
|
|
* provider-argv.js: Test fixture for using process.env defaults with nconf.
|
|
|
|
*
|
2014-11-26 06:31:48 +00:00
|
|
|
* (C) 2011, Charlie Robbins and the Contributors.
|
2011-09-19 01:37:01 +00:00
|
|
|
*
|
|
|
|
*/
|
2014-11-26 06:31:48 +00:00
|
|
|
|
2011-09-19 01:37:01 +00:00
|
|
|
var nconf = require('../../../lib/nconf');
|
|
|
|
|
2011-11-20 21:21:09 +00:00
|
|
|
var provider = new (nconf.Provider)().env();
|
2011-09-19 01:37:01 +00:00
|
|
|
|
|
|
|
process.stdout.write(provider.get('SOMETHING'));
|