1 |
|
2 |
|
3 | var pkg = require("../package.json");
|
4 | var program = require("commander");
|
5 |
|
6 | program
|
7 | .version(pkg.version)
|
8 | .command("build [type]", "build a module, service or web app")
|
9 | .command("init [dest]", "init a package in dest dir")
|
10 | .command("update [dest]", "update a package in dest dir")
|
11 | .parse(process.argv);
|