Skip to content

Commit 222b8a9

Browse files
committed
✨ refactor(app): 增加一些函数导出
1 parent 14ec762 commit 222b8a9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/index.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,14 @@ import quantityInstaller, { quantity } from "@/command/quantity";
2727
import rootInstaller, { root } from "@/command/root";
2828
import scriptRunInstaller from "@/command/script";
2929
import templateInstaller, { template } from "@/command/template";
30-
import { defineConfig, execCommand, loggerInfo, printInfo } from "@/helper";
30+
import {
31+
defineConfig,
32+
execCommand,
33+
loggerError,
34+
loggerInfo,
35+
printError,
36+
printInfo,
37+
} from "@/helper";
3138

3239
import { Plugins } from "./types";
3340

@@ -75,4 +82,4 @@ export {
7582
template,
7683
};
7784

78-
export { execCommand, loggerInfo, printInfo };
85+
export { execCommand, loggerError, loggerInfo, printError,printInfo };

0 commit comments

Comments
 (0)