Skip to main content

install_plugin

Function install_plugin 

Source
pub async fn install_plugin(
    plugin: &str,
    scope: InstallableScope,
) -> Result<PluginOperationResult, Box<dyn Error>>
Expand description

CLI command: Install a plugin non-interactively

§Arguments

  • plugin - Plugin identifier (name or plugin@marketplace)
  • scope - Installation scope: user, project, or local (defaults to ‘user’)