5.3.1.17. uninstall_plugin¶
-
mfutil.plugins.
uninstall_plugin
(name, plugins_base_dir=None, ignore_errors=False, quiet=False)[source]¶ Uninstall a plugin.
- Parameters
name (string) – the plugin name to uninstall.
plugins_base_dir (string) – (optional) the plugin base directory path. If not set, the default plugins base directory path is used.
ignore_errors (boolean) – If True, errors are ignored,
otherwise fails on errors. Default value is False.
quiet (boolean) – quiet mode to reduce output printing. Default value is False.
- Raises
MFUtilPluginBaseNotInitialized – if the plugins base is not initialized.
MFUtilPluginNotInstalled – if the plugin is not installed.
MFUtilPluginCantUninstall – if the plugin can’t be uninstalled.