feat: Add --read parameter to specify read-only files

This commit is contained in:
Paul Gauthier (aider) 2024-08-09 16:34:06 -03:00
parent ee6641f2e7
commit 064b0d954f
2 changed files with 8 additions and 0 deletions

View file

@ -420,6 +420,12 @@ def get_parser(default_config_files, git_root):
metavar="FILE",
help="specify a file to edit (can be used multiple times)",
)
group.add_argument(
"--read",
action="append",
metavar="FILE",
help="specify a read-only file (can be used multiple times)",
)
group.add_argument(
"--vim",
action="store_true",