2014-08-19 01:18:40 +00:00
|
|
|
var program = require("commander");
|
|
|
|
|
|
|
|
require("./start");
|
2014-08-19 01:53:17 +00:00
|
|
|
require("./config");
|
2014-08-19 01:18:40 +00:00
|
|
|
require("./list");
|
|
|
|
require("./add");
|
|
|
|
require("./remove");
|
|
|
|
|
|
|
|
program
|
|
|
|
.option("-p, --port <port>")
|
|
|
|
.parse(process.argv);
|
|
|
|
|
|
|
|
if (!program.args.length) {
|
|
|
|
program.parse(process.argv.concat("start"));
|
|
|
|
}
|