resolve_cli_on_path

Function resolve_cli_on_path 

Source
pub(crate) async fn resolve_cli_on_path(cli_command: &str) -> Option<String>
Expand description

Resolve a CLI command on the system PATH.

Uses where on Windows and which on Unix. Returns the absolute path if the command is found and exists, otherwise None.