feat: add --detect-urls flag to control URL detection behavior

This commit is contained in:
Paul Gauthier (aider) 2024-11-25 18:34:05 -08:00
parent f9bcfe341c
commit 7122ceb16c
2 changed files with 12 additions and 0 deletions

View file

@ -738,6 +738,12 @@ def get_parser(default_config_files, git_root):
default=True,
help="Enable/disable fancy input with history and completion (default: True)",
)
group.add_argument(
"--detect-urls",
action=argparse.BooleanOptionalAction,
default=True,
help="Enable/disable detection and offering to add URLs to chat (default: True)",
)
group.add_argument(
"--editor",
help="Specify which editor to use for the /editor command",