Automatically install the new aider version

This commit is contained in:
Paul Gauthier 2024-07-12 21:38:45 +01:00
parent 6c2a168327
commit 6c38306eab
6 changed files with 49 additions and 35 deletions

View file

@ -422,15 +422,16 @@ def get_parser(default_config_files, git_root):
help="Show the version number and exit",
)
group.add_argument(
"--check-update",
"--just-check-update",
action="store_true",
help="Check for updates and return status in the exit code",
default=False,
)
group.add_argument(
"--skip-check-update",
action="store_true",
help="Skips checking for the update when the program runs",
"--check-update",
action=argparse.BooleanOptionalAction,
help="Check for new aider versions on launch",
default=True,
)
group.add_argument(
"--apply",