Better handling of custom plugin paths

This commit is contained in:
Nick Farina
2015-11-03 21:14:25 -08:00
parent 52d51c0fcf
commit 2470f26451
3 changed files with 12 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ module.exports = function() {
program
.version(version)
.option('-P, --plugin-path [path]', 'look for plugins installed at [path] as well as node_modules', function(p) { Plugin.addPluginPath(p); })
.option('-P, --plugin-path [path]', 'look for plugins installed at [path] as well as the default locations ([path] can also point to a single plugin)', function(p) { Plugin.addPluginPath(p); })
.option('-D, --debug', 'turn on debug level logging', function() { logger.setDebugEnabled(true) })
.parse(process.argv);