kunkun/apps/cli/src/logger.ts
Huakun Shen 5ead38bf71
Add extension templates, create-kunkun and cli package (#26)
* chore: add extension templates

* feat: add create-kunkun and cli package

* fix: cli and create-kunkun package location

* fix: cli package test

* ci: run test for CI pipeline only on Linux

The most important E2E test is run with docker, Linux anyways, no need to run on Mac and Windows
2024-11-15 18:15:17 -05:00

18 lines
338 B
TypeScript

import chalk from "chalk"
import debug from "debug"
debug.enable("*")
export function printDivider(char: string = "=") {
const divider = chalk.blue(char.repeat(process.stdout.columns))
console.log(divider)
}
export default {
debug: debug("debug"),
info: debug("info"),
warn: debug("warn"),
error: debug("error"),
printDivider
}