MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isIt2CliAvailable

Function isIt2CliAvailable

src/utils/swarm/backends/it2Setup.ts:79–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77 * @returns true if it2 is available
78 */
79export async function isIt2CliAvailable(): Promise<boolean> {
80 const result = await execFileNoThrow('which', ['it2'])
81 return result.code === 0
82}
83
84/**
85 * Installs the it2 CLI tool using the detected package manager.

Callers 3

verifyIt2SetupFunction · 0.70
isAvailableMethod · 0.70
detectAndGetBackendFunction · 0.70

Calls 1

execFileNoThrowFunction · 0.85

Tested by

no test coverage detected