# File lib/heroku/cli.rb, line 18 def self.start(*args) begin if $stdin.isatty $stdin.sync = true end if $stdout.isatty $stdout.sync = true end command = args.shift.strip rescue "help" Heroku::Command.load Heroku::Command.run(command, args) rescue Interrupt %xstty icanon echo` error("Command cancelled.") rescue => error styled_error(error) exit(1) end end