Add embedded OpenAPI specification exporter subcommand
Binaries / Verify (push) Has been cancelled
Binaries / Build linux-x64 (push) Has been cancelled
Binaries / Build macos-arm64 (push) Has been cancelled
Binaries / Build macos-x64 (push) Has been cancelled
Binaries / Build windows-x64 (push) Has been cancelled
Binaries / Publish release assets (push) Has been cancelled
Binaries / Verify (push) Has been cancelled
Binaries / Build linux-x64 (push) Has been cancelled
Binaries / Build macos-arm64 (push) Has been cancelled
Binaries / Build macos-x64 (push) Has been cancelled
Binaries / Build windows-x64 (push) Has been cancelled
Binaries / Publish release assets (push) Has been cancelled
This commit is contained in:
1 parent
f1380873e4
commit
bf2bb3d87a
9 files changed
+3405
-2
No files matched your search
@@ -13,6 +13,7 @@ import { handleCorpsCommand } from "./commands/corps.js";
|
||||
import { handleDelegationCommand } from "./commands/delegation.js";
|
||||
import { handleLlmCommand } from "./commands/llm.js";
|
||||
import { handleMcpCommand, printMcpConfig } from "./commands/mcp.js";
|
||||
import { handleOpenApiCommand } from "./commands/openapi.js";
|
||||
import { handlePermissionsCommand } from "./commands/permissions.js";
|
||||
import { handleProbeCommand } from "./commands/probe.js";
|
||||
import { handleRulesCommand } from "./commands/rules.js";
|
||||
@@ -61,6 +62,7 @@ const KNOWN_AREAS = new Set([
|
||||
"server",
|
||||
"mcp-config",
|
||||
"skill",
|
||||
"openapi",
|
||||
"probe"
|
||||
]);
|
||||
|
||||
@@ -144,6 +146,11 @@ async function dispatch(argv: string[], runtime: CliRuntime) {
|
||||
throw new Error(`Unknown command: ${args.command.join(" ")}. Run 'seal-home help' for available commands.`);
|
||||
}
|
||||
|
||||
if (area === "openapi") {
|
||||
handleOpenApiCommand(args);
|
||||
return;
|
||||
}
|
||||
|
||||
if (area === "mcp-config") {
|
||||
printMcpConfig();
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user