fws
Version:
Fws is a workflow management tool that focuses on global automation tasks.
22 lines (21 loc) • 528 B
JavaScript
;
const chalk = require('chalk');
module.exports = {
error:(...arg)=>{
arg.unshift('✘');
console.log(chalk.red.apply(null,arg));
},
warn:(...arg)=>{
arg.unshift('!');
console.log(chalk.magenta.apply(null,arg));
},
success:(...arg)=>{
console.log(chalk.green('✔'),chalk.gray(arg));
},
gray:(...arg)=>{
console.log(chalk.gray.apply(null,arg));
},
highlight:(...arg)=>{
console.log(chalk.yellow.apply(null,arg));
}
}