Removed ;w file.

This commit is contained in:
Ionică Bizău 2015-01-30 15:14:43 +02:00
parent 323be11f05
commit 4989ba1802

32
;w
View file

@ -1,32 +0,0 @@
#!/usr/bin/env node
// Dependencies
var GitStats = require("../lib")
, Fs = require("fs")
;
// CLI options
switch (process.argv[2]) {
case "--record":
var data = process.argv[3].replace(/^\"|\"$/g, "");
try {
data = JSON.parse(data);
} catch (e) {
throw e;
}
GitStats.record(data, function (err) {
if (err) { throw err; }
});
break;
case "--help":
console.log(Fs.readFileSync("./docs/help"));
break;
case "-v":
console.log(require("../package.json").version);
break;
default:
GitStats.ansiCalendar(function (err, data) {
console.log(err || data);
});
break;
}