chore: 工程能力增强,可交互式使用常用功能

This commit is contained in:
wangxuefeng
2025-02-19 15:22:48 +08:00
parent eab709f94f
commit c3ebe3e15c
7 changed files with 434 additions and 40 deletions

8
scripts/utils/index.mjs Normal file
View File

@@ -0,0 +1,8 @@
import ora from "ora";
export function getLoadAnimation(text) {
return ora({
text,
color: "cyan",
spinner: "dots",
});
}