Skip to main content

detect_cli_tool

Function detect_cli_tool 

Source
pub async fn detect_cli_tool(
    name: &str,
    version_command: Option<&str>,
) -> CliToolStatus
Expand description

Probe for name <version_command>. Returns found: false (never an Err) when the binary can’t be spawned or the name is rejected.