-
Notifications
You must be signed in to change notification settings - Fork 599
Open
Description
Summary
Support letting Copy Files accept directories and glob patterns so we don't have to list files one by one.
Why
Teams often need to stage git-ignored local artifacts in each task worktree, for example:
.env.localand other.env.*filessecrets/*.jsonconfig/local/**certs/*.pem
Proposal
.env.local, secrets/*.json, config/local/**, certs/*.pem
- Accept a comma-separated list where each entry can be a file, directory, or glob
- Directories copy recursively and preserve structure
- Globs resolve from the repo root
- Paths are validated to stay inside the repo
- Non-matching patterns warn but do not fail
Notes
I didn't find an open issue or PR for this. Closest earlier discussion I saw was #444 about adding a copy option in settings, and this proposal extends that idea.
If this direction sounds good, I'm happy to open a small PR for review. I have a working prototype with tests. (Posting here rather than Discussions since similar requests are usually filed as issues.)
Metadata
Metadata
Assignees
Labels
No labels