nconf-lite/test/fixtures/scripts/nconf-argv.js

10 lines
No EOL
219 B
JavaScript

/*
* default-argv.js: Test fixture for using optimist defaults with nconf.
*
* (C) 2011, Charlie Robbins
*
*/
var nconf = require('../../../lib/nconf').argv().env();
process.stdout.write(nconf.get('something'));