Add Chinese onboarding guidance and empty corps diagnostic
Binaries / Build & Release Binaries (push) Has been cancelled
Binaries / Build & Release Binaries (push) Has been cancelled
This commit is contained in:
1 parent
7f3a4b0fe4
commit
b998a0527e
3 files changed
+14
No files matched your search
@@ -33,6 +33,9 @@ export async function handleCorpsCommand(action: string | undefined, maybeName:
|
||||
? globalConfig.defaultCorpId ?? corps[0]?.id
|
||||
: undefined
|
||||
);
|
||||
if (corps.length === 0) {
|
||||
console.error("提示:当前未检测到企业配置。你可以使用 seal-home corps add-hose 或 seal-home corps add-seal 添加企业,或运行 seal-home help 查看说明。");
|
||||
}
|
||||
printJson(corps.map((item) => ({
|
||||
id: item.id,
|
||||
name: item.name,
|
||||
|
||||
Reference in new issue
Block a user