provider-argv.js 278 Bytes
/*
 * provider-argv.js: Test fixture for using optimist defaults with nconf.
 *
 * (C) 2011, Charlie Robbins and the Contributors.
 *
 */

var nconf = require('../../../lib/nconf');

var provider = new (nconf.Provider)().argv();

process.stdout.write(provider.get('something'));