mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 12:45:00 +00:00
Add support for multiple file arguments using --file
This commit is contained in:
parent
7cf4db58d9
commit
28772ddc03
2 changed files with 11 additions and 7 deletions
|
@ -31,6 +31,9 @@ def get_parser(default_config_files, git_root):
|
|||
group.add_argument(
|
||||
"files", metavar="FILE", nargs="*", help="files to edit with an LLM (optional)"
|
||||
)
|
||||
group.add_argument(
|
||||
"--file", action="append", metavar="FILE", help="specify a file to edit (can be used multiple times)"
|
||||
)
|
||||
group.add_argument(
|
||||
"--openai-api-key",
|
||||
metavar="OPENAI_API_KEY",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue