aider icon indicating copy to clipboard operation
aider copied to clipboard

Allow globbing in read and file args.

Open chr15m opened this issue 9 months ago • 4 comments

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.

chr15m avatar Feb 27 '25 08:02 chr15m

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 27 '25 08:02 CLAassistant

Fixed merge conflicts. @paul-gauthier

chr15m avatar Mar 08 '25 04:03 chr15m

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

chr15m avatar Mar 24 '25 05:03 chr15m

I have merged main into this PR again.

chr15m avatar Apr 09 '25 23:04 chr15m