summaryrefslogtreecommitdiff
path: root/mongo-edu.js
diff options
context:
space:
mode:
authorprzemyslawpluta <przemekpluta@hotmail.com>2014-10-01 20:06:31 +0100
committerprzemyslawpluta <przemekpluta@hotmail.com>2014-10-01 20:06:31 +0100
commit53377f631000a517c0148cc278ad78e4f955329f (patch)
tree52f48516b5aa3f19d22d13ebcc7cb3233ad377d1 /mongo-edu.js
parent4f661004d55e58df3eee5ecba83d94019b0573e1 (diff)
downloadmongo-edu-53377f631000a517c0148cc278ad78e4f955329f.zip
new website support
Diffstat (limited to 'mongo-edu.js')
-rw-r--r--mongo-edu.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/mongo-edu.js b/mongo-edu.js
index 0419da0..9e98b1b 100644
--- a/mongo-edu.js
+++ b/mongo-edu.js
@@ -18,13 +18,17 @@ var pkg = require('./package'),
path = require('path'),
colors = require('colors');
+var appTitle = '[ ' + pkg.name.toUpperCase() + ' ' + pkg.version + ' ]';
+
process.title = pkg.name;
exports.create = function start() {
'use strict';
- console.log('\n[ ' + pkg.name.toUpperCase() + ' ' + pkg.version + ' ]\n');
+ console.log('\n');
+ console.log(' ' + appTitle.black.bold.bgWhite);
+ console.log('\n');
var argv = yargs.argv, slash = (/^win/.test(process.platform)) ? '\\' : '/';