# File lib/rhc/commands/tail.rb, line 18 def run(app_name) rest_app = rest_client.find_application(options.namespace, app_name, :include => :cartridges) ssh_url = options.gear ? rest_app.gear_ssh_url(options.gear) : rest_app.ssh_url tail('*', URI(ssh_url), options) 0 end