MCPcopy Create free account
hub / github.com/Pimzino/claude-code-spec-workflow / validateClaudeCode

Function validateClaudeCode

src/utils.ts:74–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72 * ```
73 */
74export async function validateClaudeCode(): Promise<boolean> {
75 try {
76 await execAsync('claude --version');
77 return true;
78 } catch {
79 return false;
80 }
81}
82
83/**
84 * Checks if a file exists at the given path.

Callers 1

cli.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected