UNPKG
sdjcli
Version:
latest (0.7.1)
0.7.1
0.7.0
0.6.1
0.6.0
0.5.9
0.5.0
0.3.0
0.2.2
0.2.1
0.2.0
0.1.0
A cli for init project for bf/sdj
github.com/LangWenqi/bf-sdjcli
LangWenqi/bf-sdjcli
sdjcli
/
lib
/
tip.js
8 lines
(6 loc)
•
252 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
const
chalk =
require
(
'chalk'
);
module
.
exports
= {
suc
:
(
msg
) =>
console
.
log
(chalk.
green
.
bold
(
`\n ✅
${msg}
\n`
)),
fail
:
(
msg
) =>
console
.
log
(chalk.
red
.
bold
(
`\n ❌
${msg}
\n`
)),
info
:
(
msg
) =>
console
.
log
(chalk.
blue
(
`\n ❗️
${msg}
\n`
)), };