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 4 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
All committers have signed the CLA.

@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.

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
2 participants