Skip to main content

uninstall_plugin

Function uninstall_plugin 

Source
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 identifier
  • scope - Uninstall from scope: user, project, or local (defaults to ‘user’)
  • keep_data - Whether to keep the plugin’s data directory