Skip to main content

preflight

Function preflight 

Source
pub fn preflight(bin: Option<&Path>) -> Result<String, Error>
Expand description

Run claude --version and return the reported version string.

bin = None uses the PATH-resolved claude binary. An explicit path is useful for tests and for environments where multiple installations coexist.