import chalk from 'chalk' /** * Applies colors to emphasize * * @param {...string} msgs */ export function bold(...msgs) { return chalk.bold(...msgs) } /** * Applies colors to inform * * @param {...string} msgs */ export function info(...msgs) { return chalk.bold.cyan(...msgs) } /** * Applies colors to signify error * * @param {...string} msgs */ export function error(...msgs) { return chalk.bold.red(...msgs) } /** * Applies colors to represent a command * * @param {...string} msgs */ export function command(...msgs) { return chalk.bold.magenta(...msgs) } /** * Applies colors to represent a file * * @param {...string} msgs */ export function file(...msgs) { return chalk.bold.magenta(...msgs) }