MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / is_available

Method is_available

atomic-agent/src/transcript/generator.rs:195–202  ·  view source on GitHub ↗

Check if the claude CLI is available on PATH.

(&self)

Source from the content-addressed store, hash-verified

193
194 /// Check if the claude CLI is available on PATH.
195 pub fn is_available(&self) -> bool {
196 Command::new(self.claude_path())
197 .arg("--version")
198 .stdout(std::process::Stdio::null())
199 .stderr(std::process::Stdio::null())
200 .status()
201 .is_ok()
202 }
203}
204
205impl Default for ClaudeCliGenerator {

Callers 1

try_generate_reasoningFunction · 0.45

Calls 2

claude_pathMethod · 0.80
statusMethod · 0.45

Tested by

no test coverage detected