Skip to main content

check_cli_version

Function check_cli_version 

Source
pub fn check_cli_version(reported: &str, min_version: &str) -> Result<(), Error>
Expand description

Check that the reported claude version is at least min_version. Compares the parsed (major, minor, patch) components numerically.

§Errors

Error::Connection when the reported version is below the minimum or can’t be parsed.