truthound plugins load¶
Load a discovered plugin.
Synopsis¶
Arguments¶
| Argument | Required | Description |
|---|---|---|
NAME |
Yes | Plugin name to load |
Options¶
| Option | Short | Default | Description |
|---|---|---|---|
--activate/--no-activate |
--activate |
Activate after loading |
Description¶
The plugin load command loads a discovered plugin:
- Loads the plugin into memory
- Activates the plugin by default
- Validates dependencies and compatibility
State Transitions¶
With --no-activate:
Examples¶
Load and Activate (Default)¶
Output:
Load Without Activating¶
Output:
Verify After Loading¶
# Load the plugin
truthound plugins load my-validator
# Verify it's active
truthound plugins list --state active
Use Cases¶
1. Load Plugin for Testing¶
# Load plugin
truthound plugins load my-validator
# Test with validation
truthound check data.csv --validators my-validator
2. Load Without Activation¶
# Load but don't activate yet
truthound plugins load my-validator --no-activate
# Inspect the loaded plugin
truthound plugins info my-validator
# Activate when ready
truthound plugins enable my-validator
3. Load Multiple Plugins¶
# Load several plugins
truthound plugins load validator-a
truthound plugins load validator-b
truthound plugins load custom-reporter
Error Handling¶
Plugin Not Found¶
Output:
Dependency Error¶
Output:
Compatibility Error¶
Output:
Exit Codes¶
| Code | Condition |
|---|---|
| 0 | Success |
| 1 | Plugin not found |
| 2 | Load error (dependencies, compatibility) |
Related Commands¶
plugin list- List all pluginsplugin unload- Unload a pluginplugin enable- Enable a plugin