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

12 lines
257 B
JavaScript
Raw Normal View History

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