mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 11:45:00 +00:00
feat: add --set-env flag to set environment variables from command line
This commit is contained in:
parent
66b99c4fa0
commit
e41bf67f73
2 changed files with 18 additions and 0 deletions
|
@ -772,6 +772,13 @@ def get_parser(default_config_files, git_root):
|
|||
"--editor",
|
||||
help="Specify which editor to use for the /editor command",
|
||||
)
|
||||
group.add_argument(
|
||||
"--set-env",
|
||||
action="append",
|
||||
metavar="ENV_VAR_NAME=value",
|
||||
help="Set an environment variable (can be used multiple times)",
|
||||
default=[],
|
||||
)
|
||||
|
||||
##########
|
||||
group = parser.add_argument_group("Voice Settings")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue