mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-08 13:44:59 +00:00
feat: Allow installing from specific git branches via --install-branch
This commit is contained in:
parent
38352735c3
commit
7b22f1d281
1 changed files with 9 additions and 3 deletions
|
@ -564,9 +564,15 @@ def get_parser(default_config_files, git_root):
|
||||||
default=None,
|
default=None,
|
||||||
)
|
)
|
||||||
group.add_argument(
|
group.add_argument(
|
||||||
"--install-main-branch",
|
"--install-branch",
|
||||||
action="store_true",
|
nargs="?",
|
||||||
help="Install the latest version from the main branch",
|
const=True,
|
||||||
|
metavar="GIT_URL",
|
||||||
|
help=(
|
||||||
|
"Install the latest version from a git branch. If GIT_URL is provided, installs from"
|
||||||
|
" that URL (e.g., git+https://github.com/user/aider.git@my-branch). If no URL is"
|
||||||
|
" provided, installs from the Aider-AI main branch."
|
||||||
|
),
|
||||||
default=False,
|
default=False,
|
||||||
)
|
)
|
||||||
group.add_argument(
|
group.add_argument(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue