detail
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -8,3 +8,3 @@ #!/usr/bin/env node | ||
cli.when('-h --help', 'Output usage information', cli.help) | ||
.when('-v --version', 'OUtput version number', cli.version) | ||
.when('-v --version', 'Output version number', cli.version) | ||
.when('-m --module <moduleName>', 'Get details of locally installed modules', function (pkgName) { | ||
@@ -36,3 +36,3 @@ if(arguments.length != 1) return cli.throw("You need to specify the name of only one global package"); | ||
}.bind(cli)); | ||
}).default('detail [dir] [moduleName]', 'Launch details and markdown viewer of given project/package', function (dir, pkgName) { | ||
}).default('detail [options|dir] [moduleName]', 'Launch details and markdown viewer of given project/package', function (dir, pkgName) { | ||
dir = dir || process.cwd(); | ||
@@ -39,0 +39,0 @@ getFilesPaths(getPath(dir, pkgName), function (err, pathsToFiles) { |
{ | ||
"name": "detail", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Details and Markdown viewer of your node packages/projects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
729679