()
| 77 | * @returns true if it2 is available |
| 78 | */ |
| 79 | export 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. |
no test coverage detected