Home / Function/ cliAvailable() — dead-code-hunter Function Reference

cliAvailable() — dead-code-hunter Function Reference

Architecture documentation for the cliAvailable() function in integration.test.ts from the dead-code-hunter codebase.

Entity Profile

Relationship Graph

Source Code

src/__tests__/integration.test.ts lines 8–15

function cliAvailable(): boolean {
  try {
    execSync('supermodel version', { stdio: 'ignore' });
    return true;
  } catch {
    return false;
  }
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free