Skip to main content

install_plugin

Function install_plugin 

Source
pub fn install_plugin(
    source: &Path,
    project_root: &Path,
    global: bool,
) -> Result<DiscoveredPlugin, PluginError>
Expand description

Install a channel plugin from a source directory to the target plugin dir.

Copies the entire plugin directory (including channel.toml and any binaries) to the target location.