Module: Aircana::CLI::DoctorChecks::ClaudeIntegration

Included in:
Aircana::CLI::Doctor
Defined in:
lib/aircana/cli/commands/doctor_checks.rb

Instance Method Summary collapse

Instance Method Details

#check_claude_directoriesObject



23
24
25
26
27
28
29
30
31
# File 'lib/aircana/cli/commands/doctor_checks.rb', line 23

def check_claude_directories
  project_claude = File.join(Dir.pwd, ".claude")
  if Dir.exist?(project_claude)
    log_success(".claude", "Project Claude config directory exists")
  else
    log_warning(".claude", "Project Claude config directory not found")
    log_remedy("Will be created when running 'aircana init'")
  end
end

#check_claude_integrationObject



9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/aircana/cli/commands/doctor_checks.rb', line 9

def check_claude_integration
  Aircana.human_logger.info "\nClaude Code Integration:"

  if claude_available?
    log_success("claude", "Claude Code installed")
  else
    log_failure("claude", "Claude Code not installed")
    log_remedy("Install Claude Code from: https://claude.ai/download")
    @issues_found = true
  end

  check_claude_directories
end