Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow globbing in read and file args. #3395

Open
wants to merge 1,097 commits into
base: main
Choose a base branch
from

Conversation

chr15m
Copy link

@chr15m chr15m commented Feb 27, 2025

This patch allows the user to specify multiple matching files during 'read' and 'file' both on the command line and in the config file. This is useful for including multiple files of non-code context shared across multiple projects - for example:

aider --read '/home/USERNAME/.aider-context/*.md'`

Or in the config file:

read: [/home/USERNAME/.aider-context/*.md]

Fixes #3366.

@CLAassistant
Copy link

CLAassistant commented Feb 27, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
3 out of 6 committers have signed the CLA.

✅ KennyDizi
✅ chr15m
✅ FelixLisczyk
❌ banjo
❌ paul-gauthier
❌ tylersatre
You have signed the CLA already but the status is still pending? Let us recheck it.

@chr15m
Copy link
Author

chr15m commented Mar 8, 2025

Fixed merge conflicts. @paul-gauthier

@chr15m
Copy link
Author

chr15m commented Mar 24, 2025

@paul-gauthier I have added more information above explaining why this feature is useful.

paul-gauthier and others added 27 commits March 27, 2025 18:40
@chr15m
Copy link
Author

chr15m commented Apr 9, 2025

I have merged main into this PR again.

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.

Glob for read/file config in yaml
10 participants