Skip to main content

run

Function run 

Source
pub fn run(
    tool: &CliTool,
    id: &str,
    params: &Value,
) -> Option<Result<Value, CliToolError>>
Expand description

Run INSTALL (param replace), UNINSTALL or STATUS on tool, for apps that route commands themselves instead of through a ashlar_command::Registry. The result is the outcome as JSON with a message for a toast; None when id is none of the three.