Skip to main content

discover_external_plugins

Function discover_external_plugins 

Source
pub fn discover_external_plugins(
    root: &Path,
    config_plugin_paths: &[String],
) -> Vec<ExternalPluginDef>
Expand description

Discover and load external plugin definitions for a project.

Discovery order (first occurrence of a plugin name wins):

  1. Paths from the plugins config field (files or directories)
  2. .fallow/plugins/ directory (auto-discover *.toml, *.json, *.jsonc files)
  3. Project root fallow-plugin-* files (.toml, .json, .jsonc)