12 lines
264 B
JavaScript
12 lines
264 B
JavaScript
|
/*
|
||
|
* 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: true });
|
||
|
|
||
|
process.stdout.write(provider.get('something'));
|