pub async fn uninstall_plugin(
plugin: &str,
scope: InstallableScope,
keep_data: bool,
) -> Result<PluginOperationResult, Box<dyn Error>>Expand description
CLI command: Uninstall a plugin non-interactively
§Arguments
plugin- Plugin name or plugin@marketplace identifierscope- Uninstall from scope: user, project, or local (defaults to ‘user’)keep_data- Whether to keep the plugin’s data directory