Add corp compatibility alias for corps commands

This commit is contained in:
gitea committed 2026-09-11 16:42:30 +08:00
1 parent 8773122a61
commit 8b2230e0aa
4 files changed
+33 -1

No files matched your search

+2 -1
View File
@@ -62,6 +62,7 @@ export const KNOWN_AREAS = new Set([
"update",
"tools",
"corps",
"corp",
"tool",
"source",
"auth",
@@ -274,7 +275,7 @@ async function dispatch(argv: string[], runtime: CliRuntime) {
return;
}
if (area === "corps") {
if (area === "corps" || area === "corp") {
await handleCorpsCommand(action, maybeName, args);
return;
}