Skip to main content

enable_plugin_op

Function enable_plugin_op 

Source
pub async fn enable_plugin_op(
    plugin: &str,
    scope: Option<InstallableScope>,
) -> PluginOperationResult
Expand description

Enable a plugin

§Arguments

  • plugin - Plugin name or plugin@marketplace identifier
  • scope - Optional scope. If not provided, finds the most specific scope for the current project.

§Returns

Result indicating success/failure