Created
August 23, 2015 15:36
-
-
Save sergn-n/45d27a2344db2dfe7b28 to your computer and use it in GitHub Desktop.
enclose-nconf-err
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var nconf = require('nconf'); | |
nconf.argv(); | |
console.log('foo: ' + nconf.get('foo')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node enclose.js .\app.js -l info -c .\encl-config.js > enclose.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
scripts: "./node_modules/nconf/lib/nconf/stores/*.js" | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "enclose-test", | |
"version": "0.0.1", | |
"private": true, | |
"scripts": { | |
"start": "node ./app.js" | |
}, | |
"dependencies": { | |
"nconf": "~0.7.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment