class CF::App::Health
Public Instance Methods
health()
click to toggle source
# File lib/cf/cli/app/health.rb, line 9 def health apps = input[:apps] fail "No applications given." if apps.empty? health = with_progress("Getting health status") do apps.collect { |a| [a, app_status(a)] } end line unless quiet? spaced(health) do |app, status| start_line "#{c(app.name, :name)}: " unless quiet? puts status end end