We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 973588e commit 7db3679Copy full SHA for 7db3679
src/node/create-cli.ts
@@ -4,7 +4,7 @@ import * as semver from 'semver';
4
5
import { initGlobalState } from '../utils/global-state';
6
import { TransferedRegisterCommand } from '../utils/define';
7
-import { logFatal } from '../utils/log';
+import { logFatal, spinner } from '../utils/log';
8
9
// Check git repo
10
// let isGitRepo = false;
@@ -46,7 +46,9 @@ export async function createCli(opts?: { pluginIncludeRoots: string[] }) {
46
47
await cleanUncessaryFields();
48
49
- await loadPlugins(opts && opts.pluginIncludeRoots);
+ await spinner('Load plugins', async () => {
50
+ await loadPlugins(opts && opts.pluginIncludeRoots);
51
+ });
52
53
const commandRegisterMap = transferCommandsArrayToMap(plugin.commands);
54
0 commit comments