feat: add read-only permission snapshot CLI

This commit is contained in:
gitea committed 2026-09-05 20:45:34 +08:00
1 parent 43d923f567
commit acd187b616
10 files changed
+79

No files matched your search

+4
View File
@@ -20,6 +20,7 @@ import { handleTaskCommand } from "./commands/task.js";
import { handleMessageCommand } from "./commands/message.js";
import { handleDimensionCommand } from "./commands/dimension.js";
import { handleRoleCommand } from "./commands/role.js";
import { handlePermissionCommand } from "./commands/permission.js";
import type { CliResult, CliRunOptions } from "./types.js";
const STANDING_COMMANDS = new Set(["http", "server", "web", "mcp"]);
@@ -151,6 +152,9 @@ async function dispatchCli(
case "role":
case "roles":
return await handleRoleCommand(parsed, runtime);
case "permission":
case "permissions":
return await handlePermissionCommand(parsed, runtime);
case "message":
case "messages":
case "notify":