md-front-cli
Version:
Private cli command line, create a fontend project template
11 lines (10 loc) • 386 B
JavaScript
const chalk = require('chalk')
const logSymbols = require('log-symbols')
const log = console.log
module.exports = {
success: str => log(logSymbols.success, chalk.bgGreen(str)),
error: str => log(logSymbols.error, chalk.red.bold(str)),
warning: str => log(logSymbols.warning, chalk.bgYellow.cyan(str)),
info: str => log(chalk.blue(str)),
note: str => log(chalk.magenta(str))
}