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

10 lines
240 B
JavaScript
Raw Normal View History

/*
* default-argv.js: Test fixture for using optimist defaults with nconf.
*
2014-11-26 06:31:48 +00:00
* (C) 2011, Charlie Robbins and the Contributors.
*
*/
2014-11-26 06:31:48 +00:00
var nconf = require('../../../lib/nconf').argv().env();
process.stdout.write(nconf.get('something'));