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
ClaudeError::CliNotFoundif the binary is not found.ClaudeError::NonZeroExitif the command fails.ClaudeError::Iofor other I/O errors.