mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 11:14:59 +00:00
feat: add clipboard watcher with --copypaste flag
This commit is contained in:
parent
2a1065efc1
commit
d2d5887936
2 changed files with 11 additions and 0 deletions
|
@ -825,6 +825,11 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
|||
file_watcher = FileWatcher(coder, gitignores=ignores, verbose=args.verbose)
|
||||
coder.file_watcher = file_watcher
|
||||
|
||||
if args.copypaste:
|
||||
from aider.copypaste import ClipboardWatcher
|
||||
clipboard_watcher = ClipboardWatcher(coder.io, verbose=args.verbose)
|
||||
clipboard_watcher.start()
|
||||
|
||||
coder.show_announcements()
|
||||
|
||||
if args.show_prompts:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue