Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cli.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2010-03-04 01:15:02 +0300
committerisaacs <i@izs.me>2010-03-04 01:15:02 +0300
commitb3b8dd90723a4ce4f9eddfec15b898a2e468a970 (patch)
tree1aac285e6007229fd90eb0688ca70fd020316243 /cli.js
parent2932d706fcf96ede37c5a10147a5fd8a3371e195 (diff)
Add build to the command line
Diffstat (limited to 'cli.js')
-rwxr-xr-xcli.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/cli.js b/cli.js
index b07a5046a..2ee5d828f 100755
--- a/cli.js
+++ b/cli.js
@@ -25,7 +25,14 @@ if (fs.lstatSync(__filename).isSymbolicLink()) {
npm = require(npm);
// supported commands.
-var commands = ["help", "install", "activate", "ls", "list"],
+var commands =
+ [ "help"
+ , "install"
+ , "activate"
+ , "ls"
+ , "list"
+ , "build"
+ ],
log = require(npm.moduleName+"/../lib/utils").log;
var argv = process.argv, arg = "";