Skip to content

Update cx alias to use new --permission-mode flag#5233

Merged
dhh merged 1 commit into
basecamp:devfrom
pontino:fix-cx-alias-permission-flag
Apr 22, 2026
Merged

Update cx alias to use new --permission-mode flag#5233
dhh merged 1 commit into
basecamp:devfrom
pontino:fix-cx-alias-permission-flag

Conversation

@pontino
Copy link
Copy Markdown
Contributor

@pontino pontino commented Apr 5, 2026

Summary

  • The --allow-dangerously-skip-permissions flag has been replaced by --permission-mode bypassPermissions in Claude Code
  • Updates the cx alias in default/bash/aliases to use the new flag

Test plan

  • Run cx and verify Claude Code launches with permissions bypassed

The `--allow-dangerously-skip-permissions` flag has been replaced
by `--permission-mode bypassPermissions` in Claude Code.
Copilot AI review requested due to automatic review settings April 5, 2026 09:05
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the cx bash alias to use the new --permission-mode bypassPermissions flag in place of the deprecated --allow-dangerously-skip-permissions flag for the Claude Code command. The change reflects a recent API update in Claude Code.

Changes:

  • Updated the cx alias to use the new --permission-mode bypassPermissions flag instead of --allow-dangerously-skip-permissions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dhh dhh merged commit 4e7c51b into basecamp:dev Apr 22, 2026
3 of 4 checks passed
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.

3 participants