Feature Request: Allow File Modification non-interactivley

Resolved 💬 1 comment Opened Feb 27, 2025 by djrodgerspryor Closed Feb 28, 2025

I'd love to be able to pre-authorise modifying files within a specific (set of) directories, or just for the whole project. I've got some workflows which gather context for Claude, and then get it working on a task, and it's frustrating to have to re-approve edits each time it runs.

My standard workflow is to commit/stage changes and then run claude in modify-any-file mode, then review the final changes myself before committing them.

The approval could remain session-scoped if there was a CLI flag (eg. claude --allow-all-file-modification ...), or this could be a persistent project level setting.

It would also be convenient to enable specific commands for a session using CLI flags, but the config file is a good enough substitute for now.

Is this something you're open to adding?

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗