nu_plugin_engine

Function load_plugin_registry_item

Source
pub fn load_plugin_registry_item(
    working_set: &mut StateWorkingSet<'_>,
    plugin: &PluginRegistryItem,
    span: Option<Span>,
) -> Result<Arc<PersistentPlugin>, ShellError>
Expand description

Load a definition from the plugin file into the engine state