feat: add --apply-clipboard-edits switch for direct clipboard editing

This commit is contained in:
Paul Gauthier (aider) 2024-11-04 10:34:21 -08:00
parent c67e63bc09
commit 8bc0d5544d
2 changed files with 10 additions and 1 deletions

View file

@ -630,6 +630,12 @@ def get_parser(default_config_files, git_root):
metavar="FILE",
help="Apply the changes from the given file instead of running the chat (debug)",
)
group.add_argument(
"--apply-clipboard-edits",
action="store_true",
help="Apply clipboard contents as edits using the main model's editor format",
default=False,
)
group.add_argument(
"--yes-always",
action="store_true",