Skip to content

Rename --allowed-path flag to --allowed-paths#122

Merged
AlexandreYang merged 1 commit intomainfrom
matt-dz/renamed-allowed-path-flag
Mar 18, 2026
Merged

Rename --allowed-path flag to --allowed-paths#122
AlexandreYang merged 1 commit intomainfrom
matt-dz/renamed-allowed-path-flag

Conversation

@matt-dz
Copy link
Copy Markdown
Collaborator

@matt-dz matt-dz commented Mar 18, 2026

Summary

  • Rename the --allowed-path CLI flag to --allowed-paths for consistency with --allowed-commands and because the flag accepts a comma-separated list of directories
  • Update corresponding tests to use the new flag name

Test plan

  • go build ./cmd/rshell succeeds
  • TestAllowedPathGrantsAccess, TestAllowedPathCommaSeparated, TestHelp, TestFileArgWithAllowedPath all pass

🤖 Generated with Claude Code

@matt-dz
Copy link
Copy Markdown
Collaborator Author

matt-dz commented Mar 18, 2026

@codex conduct a comprehensive security and code review

@matt-dz matt-dz marked this pull request as ready for review March 18, 2026 16:53
@matt-dz matt-dz added this pull request to the merge queue Mar 18, 2026
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@AlexandreYang AlexandreYang removed this pull request from the merge queue due to a manual request Mar 18, 2026
@AlexandreYang AlexandreYang added this pull request to the merge queue Mar 18, 2026
Merged via the queue into main with commit 0541a9f Mar 18, 2026
29 of 30 checks passed
@AlexandreYang AlexandreYang deleted the matt-dz/renamed-allowed-path-flag branch March 18, 2026 17:04
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.

2 participants