install multiple packages at once with the install command

This commit is contained in:
2026-01-19 07:29:55 +11:00
parent dd7697fcc7
commit 4de2819109
2 changed files with 19 additions and 15 deletions

View File

@@ -15,7 +15,7 @@ def parse_arguments():
# install command
install_command = sub_parsers.add_parser(name="install", description="install a mineral")
install_command.add_argument("name", help="name of the mineral to install")
install_command.add_argument("names", help="name of the minerals to install", nargs="+")
install_command.add_argument("--max-retries", help="max number of download retries before giving up", default=3, type=int)
# uninstall command