Fix architecture review findings and align CLI metadata
This commit is contained in:
1 parent
780a4ba9c0
commit
50e4e492b4
83 files changed
+966
-792
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { usageError } from "../../core/errors.js";
|
||||
import type { CorpConfig } from "../../core/config/types.js";
|
||||
import { resolveLiveSealEnterpriseConfig } from "../../domains/seal/enterprise/source.js";
|
||||
import { printJson } from "../printer.js";
|
||||
@@ -8,5 +9,5 @@ export async function handleSourceCommand(action: string | undefined, corp: Corp
|
||||
return;
|
||||
}
|
||||
|
||||
throw new Error(`Unknown source command: ${action ?? ""}. Run 'seal-use help' for available commands.`);
|
||||
throw usageError(`Unknown source command: ${action ?? ""}. Run 'seal-use help' for available commands.`);
|
||||
}
|
||||
Reference in new issue
Block a user