feat: Add --upgrade argument to upgrade aider to the latest version

This commit is contained in:
Paul Gauthier (aider) 2024-08-27 08:46:54 -07:00
parent fa74736e02
commit 17c2626f39
2 changed files with 10 additions and 0 deletions

View file

@ -509,6 +509,12 @@ def get_parser(default_config_files, git_root):
help="Install the latest version from the main branch",
default=False,
)
group.add_argument(
"--upgrade",
action="store_true",
help="Upgrade aider to the latest version from PyPI",
default=False,
)
group.add_argument(
"--apply",
metavar="FILE",