pub async fn check_cli() -> Result<String, ClaudeError>Expand description
Checks that the claude CLI is available and returns its version string.
Runs claude --version and returns the trimmed stdout on success.
To check a binary at a custom path, use check_cli_with_path.
ยงErrors
ClaudeError::CliNotFoundifclaudeis not in PATH.ClaudeError::NonZeroExitif the command fails.ClaudeError::Iofor other I/O errors.