@arc-fusion/cli
Version:
CLI for running Arc Fusion on your local machine
27 lines (22 loc) • 493 B
JavaScript
const MESSAGES = {
ERROR: 'ERROR:',
VERIFYNG_BUNDLE: 'Verifying the current bundle...',
HAS_CIRCULAR_DEPENDENCIES: 'Your bundle has circular dependencies:',
COMPILING_STYLES: 'Compiling styles...'
}
const COLORS = {
FgRed: '\x1b[31m',
FgGreen: '\x1b[32m'
}
const TYPE_MESSAGE = {
ERROR: COLORS.FgRed,
INFO: COLORS.FgGreen
}
function logMessage (color = '', message = '') {
console.log(`${color}${message}`)
}
module.exports = {
MESSAGES,
TYPE_MESSAGE,
logMessage
}