Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add purge option to remove plugin CLI #24981
By default, the remove plugin CLI command preserves configuration files. This is so that if a user is upgrading the plugin (which is done by first removing the old version and then installing the new version) they do not lose their configuration file. Yet, there are circumstances where preserving the configuration file is not desired. This commit adds a purge option to the remove plugin CLI command.
@nik9000 I addressed your suggestion. I pushed a bigger change though which is to allow purge to be used after a plugin is removed to cleanup lingering config files. This necessitated removing the marker file that we drop in the specific plugin directory into the root plugin directory. Since this is a bigger change, can you take another look?