uninstall command is done

This commit is contained in:
2026-01-19 07:03:51 +11:00
parent dd204788e3
commit 28b56e71ab
5 changed files with 69 additions and 11 deletions

View File

@@ -5,6 +5,7 @@ from install import install
from publish import publish
from remove import remove
from list import list_cmd
from uninstall import uninstall
def parse_arguments():
@@ -23,7 +24,6 @@ def parse_arguments():
# list command
list_command = sub_parsers.add_parser(name="list", description="list all minerals installed in the current environment")
list_command.add_argument("--env_name", help="list all minerals from a specific environment.", default=None, required=False)
# publish command
publish_command = sub_parsers.add_parser(name="publish", description="publish a package to the repository")
@@ -66,6 +66,8 @@ def parse_arguments():
remove(args)
elif args.command == "list":
list_cmd(args)
elif args.command == "uninstall":
uninstall(args)
def main():
parse_arguments()