Skip to main content

check_cli_with_path

Function check_cli_with_path 

Source
pub async fn check_cli_with_path(cli_path: &str) -> Result<String, ClaudeError>
Expand description

Checks that the CLI at the given path is available and returns its version string.

Runs <cli_path> --version and returns the trimmed stdout on success.

ยงErrors