mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
feat: add /save command to persist added files for /load
This commit is contained in:
parent
b111fc357c
commit
79cdff6163
1 changed files with 2 additions and 0 deletions
|
@ -1246,6 +1246,8 @@ class Commands:
|
||||||
output = f"{announcements}\n{settings}"
|
output = f"{announcements}\n{settings}"
|
||||||
self.io.tool_output(output)
|
self.io.tool_output(output)
|
||||||
|
|
||||||
|
#ai add cmd_save(fname) that generates a file that cmd_load can read!
|
||||||
|
#it should use /add and /read to reconstruct the list of added files, one per line
|
||||||
def cmd_load(self, args):
|
def cmd_load(self, args):
|
||||||
"Load and execute commands from a file"
|
"Load and execute commands from a file"
|
||||||
if not args.strip():
|
if not args.strip():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue