-
Notifications
You must be signed in to change notification settings - Fork 11
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
[CLI-2908] Add plugin uninstall command #2761
Conversation
Make sure you:
|
@brianstrauch The |
Since |
the uninstall works very similar to delete functionality for various other commands, maybe that is why we need it for both cloud and platform? Also have made the other changes you suggested |
Hmm 🤔 since we're only able to |
Since this PR is against the |
Release Notes
Breaking Changes
confluent plugin search
has been renamed to "id"; a new "name" field has been added in its placeNew Features
confluent plugin uninstall
command for Confluent PlatformChecklist
What
Added plugin uninstall command to remove the plugins that are no longer needed for a user. Also added the ID for a particular plugin in the command plugin list (which can be used as the flag in uninstall) and changed the one of the column names in plugin search for the sake of consistency with list command
References
https://confluentinc.atlassian.net/browse/CLI-2908
Test & Review
Created a new function in the TestPluginUninstall in the plugin_test.go class to test the unistall functionality added. This involved creating a dummy plugin, uninstalling it and checking that the plugin list command gives the expected output after the uninstall.
For manual testing, added one of the plugins using the install. Verified it using plugin list command. Then uninstalled it using the plugin uninstall command and again verified the results using the plugin list command.