implemented ascii logo

This commit is contained in:
Daniel Sommer 2017-03-24 21:46:09 +01:00
parent 2a23c709dd
commit 6d25ec239c

View file

@ -15,6 +15,8 @@ const app = require('./package.json');
// generate timestamp
const start = process.hrtime();
printLogo();
// general options
commander
.version(app.version)
@ -190,6 +192,15 @@ function frontFill(string, fill, length) {
return string;
}
// print logo
function printLogo() {
console.log(' _ _ _ __ __ ');
console.log(' | |__ __ _ __| |__ _ ___ _ _ /_\\ | \\/ |');
console.log(' | \'_ \\\/ _` \/ _` \/ _` / -_) \'_\/ _ \\| |\\/| |');
console.log(' |_.__\/\\__,_\\__,_\\__, \\___|_|\/_\/ \\_\\_| |_|');
console.log(' |___/ ');
}
// shutdown
function exit(err) {
if (err) {