class RHC::Commands::Tail

Public Instance Methods

run(app) click to toggle source
# File lib/rhc/commands/tail.rb, line 13
def run(app)
  begin
    rest_domain = rest_client.find_domain(options.namespace)
    rest_app = rest_domain.find_application(app)
    rest_app.tail(options)
  rescue Interrupt
    results { say "Terminating..." }
  end
  0
end