hardlounge/src/command-line/index.js

16 lines
303 B
JavaScript
Raw Normal View History

2014-08-19 01:18:40 +00:00
var program = require("commander");
2014-08-26 18:15:17 +00:00
var pkg = require("../../package.json");
2014-08-19 01:18:40 +00:00
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");
2014-08-25 00:19:03 +00:00
require("./edit");
2014-08-19 01:18:40 +00:00
2014-08-26 18:15:17 +00:00
program.parse(process.argv);
2014-08-19 01:18:40 +00:00
if (!program.args.length) {
program.parse(process.argv.concat("start"));
}