brain-vue-cli
Version:
A command line tool used to run projects
13 lines (12 loc) • 380 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const chalk = require('chalk');
function warning(message) {
console.warn(chalk.yellow(`[brain-vue]:${message}`));
}
exports.warning = warning;
function log(info, color = 'green') {
/* istanbul ignore next */
console.log(chalk.blue(`[brain-vue]:${chalk[color](info)}`));
}
exports.log = log;