mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-13 02:04:34 +00:00

* 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
18 lines
338 B
TypeScript
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
|
|
}
|