Skip to content

feat(cmd): add --disable-commands flag for command denylist#173

Open
spookyuser wants to merge 1 commit intosteipete:mainfrom
spookyuser:feat/disable-commands
Open

feat(cmd): add --disable-commands flag for command denylist#173
spookyuser wants to merge 1 commit intosteipete:mainfrom
spookyuser:feat/disable-commands

Conversation

@spookyuser
Copy link

Add support for blocking specific commands using dot-notation (e.g., gmail.send, calendar.delete).

  • Add GOG_DISABLE_COMMANDS env var
  • Block commands by exact match or parent prefix
  • Case-insensitive matching

Add support for blocking specific commands using dot-notation
(e.g., gmail.send, calendar.delete). This complements the existing
--enable-commands allowlist by providing fine-grained control over
which subcommands are accessible.

- Add GOG_DISABLE_COMMANDS env var
- Block commands by exact match or parent prefix
- Case-insensitive matching

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant