test_tool

Function test_tool 

Source
pub async fn test_tool(
    path: &Path,
    params: Vec<(String, String)>,
    config: &Config,
    source: Option<&str>,
) -> Result<()>
Expand description

Test a tool script with sample parameters.

Loads the script, executes tool.execute() with the provided parameters, and prints the result. Useful for development and debugging.