Base
# File lib/rhc/commands/apps.rb, line 9 def run applications = (options.mine ? rest_client.owned_applications(:include => :cartridges) : rest_client.applications(:include => :cartridges)).sort info "In order to deploy applications, you must create a domain with 'rhc setup' or 'rhc create-domain'." and return 1 if applications.empty? && rest_client.domains.empty? applications.each{ |a| display_app(a, a.cartridges, nil, options.verbose) }.blank? and info "No applications. Use 'rhc create-app'." and return 1 success "You have#{options.mine ? '' : ' access to'} #{pluralize(applications.length, 'application')}." 0 end
Generated with the Darkfish Rdoc Generator 2.