Use built-in Click functions where possible #67
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#63 was first, using
click.echoinstead of a complex tempfile/manual editor call setup.Investigate what other click utility functions might be useful.
Candidate:
click.echo_via_pagerinstead of manuallesscall in VM log.Candidate:
click.confirmfor in-line confirmation of potentially-messy operations. Currently includes most Ceph removal tasks; also include all other removal tasks (VM, network, template, etc.) along with a--yesoption.Candidate:
click.progressbarfor VM provisioning with a--waitflag similar to flush/unflush commands. Potentially implement this progressbar for flush/unflush as well.Candidate:
click.pausefor confirmation of some tasks - review for potential candidates.mentioned in commit
9e7d86d5cfmentioned in commit
c183bc7fefmentioned in commit
a197d9da80closed
Not implementing progress bar for the flush command since that would be a little gross to hack in (since the API supports the wait functionality, rather than just the CLI like with provisioning). Otherwise, all useful-looking Click special objects have been implemented.