mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
/drop with no args drops all files
This commit is contained in:
parent
f32580caf2
commit
dfdc6a382a
1 changed files with 4 additions and 0 deletions
|
@ -277,6 +277,10 @@ class Commands:
|
|||
def cmd_drop(self, args):
|
||||
"Remove matching files from the chat session"
|
||||
|
||||
if not args.strip():
|
||||
self.io.tool_output("Dropping all files from the chat session.")
|
||||
self.coder.abs_fnames = []
|
||||
|
||||
for word in args.split():
|
||||
matched_files = [
|
||||
file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue