More descriptive bin program output (fixes #1)

This commit is contained in:
Gajus Kuizinas
2016-01-29 11:21:04 +00:00
parent 69825b59c6
commit 03d68cbe7a
6 changed files with 70 additions and 6 deletions
+8
View File
@@ -0,0 +1,8 @@
import chalk from 'chalk';
import moment from 'moment';
export default (...append) => {
/* eslint-disable no-console */
console.log(chalk.dim('[' + moment().format('HH:mm:ss') + ']'), ...append);
/* eslint-enable no-console */
};