Class: Stable::Commands::Doctor

Inherits:
Object
  • Object
show all
Defined in:
lib/stable/commands/doctor.rb

Overview

Doctor command - checks system health and dependencies

Instance Method Summary collapse

Instance Method Details

#callObject



7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/stable/commands/doctor.rb', line 7

def call
  puts 'Running Stable health checks...'
  puts

  checks = Services::DependencyChecker.new.run

  checks.each do |check|
    print_check(check)
  end

  puts
  summary(checks)
end