UNPKG

@ashnov/hephaestus-cli

Version:

Your AI powered CLI-based coding assistant. Powered by OpenAI davinci models.

17 lines (16 loc) 538 B
import chalk from 'chalk'; import nodeEmoji from 'node-emoji'; export class Stylize { static success(...args) { return `${nodeEmoji.get('white_check_mark')} ${chalk.bold.greenBright(args.join(' '))}`; } static info(...args) { return `${nodeEmoji.get('robot_face')} ${chalk.bold.cyanBright(args.join(' '))}`; } static flatInfo(...args) { return chalk.cyanBright(args.join(' ')); } static error(...args) { return `${nodeEmoji.get('x')} ${chalk.bold.red(args.join(' '))}`; } }