uninstall command is done
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user