# File lib/heroku/commands/app.rb, line 209 def destroy app = extract_app info = heroku.info(app) url = info[:domain_name] || "http://#{info[:name]}.#{heroku.host}/" if confirm_command(app) redisplay "Destroying #{app} (including all add-ons)... " heroku.destroy(app) if remotes = git_remotes(Dir.pwd) remotes.each do |remote_name, remote_app| next if app != remote_app shell "git remote rm #{remote_name}" end end display "done" end end