mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2025-01-03 10:22:11 +01:00
Comments, and help fix
This commit is contained in:
parent
94717d98a2
commit
2f83ab4aee
1 changed files with 3 additions and 1 deletions
|
@ -8,9 +8,11 @@ var GitStats = require("../lib")
|
||||||
, Logger = require("bug-killer")
|
, Logger = require("bug-killer")
|
||||||
;
|
;
|
||||||
|
|
||||||
|
// Configure logger
|
||||||
Logger.config.displayDate = false;
|
Logger.config.displayDate = false;
|
||||||
Logger.config.logLevel = 4;
|
Logger.config.logLevel = 4;
|
||||||
|
|
||||||
|
// Constants
|
||||||
const THEMES = {
|
const THEMES = {
|
||||||
DARK: {
|
DARK: {
|
||||||
background: "#11181F"
|
background: "#11181F"
|
||||||
|
@ -50,7 +52,7 @@ switch (process.argv[2]) {
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case "--help":
|
case "--help":
|
||||||
console.log(Fs.readFileSync("./docs/help", "utf-8"));
|
console.log(Fs.readFileSync(__dirname + "/docs/help", "utf-8"));
|
||||||
break;
|
break;
|
||||||
case "-v":
|
case "-v":
|
||||||
console.log(require("../package.json").version);
|
console.log(require("../package.json").version);
|
||||||
|
|
Loading…
Reference in a new issue