-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switched CLI to Cement and improved error handling + logging facilities (fixes #216 and fixes #219) #289
Conversation
* added super minimal cement-based CLI * added basic bug list command to cement CLI * added -q option to bug list command * updated force parameter to True for bug download * added upload and download commands to bug CLI * updated BugManager to set force to True * added uninstall command to cement CLI * added bug coverage method to cement CLI * added bug validate command to cement CLI * added commented-out code for --installed and --uninstalled flags to bug list command * added basic source group to cement CLI * added source add command to cement CLI * added source update command to cement CLI * added __delitem__ to source manager * added source remove command to cement CLI * ported tool commands to cement CLI * ported container commands to cement CLI * finished porting existing CLI to cement
tool = tools[name_tool] | ||
except KeyError: | ||
raise exceptions.ToolNotFound(name_tool) | ||
tools.uninstall(tool, force=force) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this also removes the image? I was never a fan of build
and uninstall
. It should either be install
and uninstall
or build
and remove
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair point. So, we don't use install
any more because it's not clear whether the image is being downloaded or built from scratch. That does make uninstall
a weird verb; remove
is a better alternative. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay. I've renamed tool uninstall
with tool rm
and tool remove
, and bug uninstall
with bug rm
and bug remove
.
argparse
tocement
.~/.bugzoo/logs