# File lib/rhc/commands/app.rb, line 221 def show(app) rest_domain = rest_client.find_domain(options.namespace) rest_app = rest_domain.find_application(app) unless options.state display_app(rest_app,rest_app.cartridges,rest_app.scalable_carts.first) else results do rest_app.gear_groups.each do |gg| say "Geargroup #{gg.cartridges.collect { |c| c['name'] }.join('+')} is #{gg.gears.first['state']}" end end end 0 end