Add a script to list the routes in a region
user
```ruby
#!/usr/bin/env ruby

require 'json'
require 'set'

routes_by_domain_url = {}

page = JSON.parse `cf curl '/v2/routes?results-per-page=100'`
next_url = page["next_url"]

while next_url
  page = JSON.parse `cf curl '#{next_url}'`
  page['resources'].map do |resource|
    host = resource.dig('entity', 'host')
    unless host.empty?
      domain_url = resource.dig('entity', 'domain_url')
      if routes_by_domain_url.include? domain_url
        routes_by_domain_url[domain_url] << host
      else
        routes_by_domain_url[domain_url] = [host].to_set
      end
    end
  end
  next_url = page["next_url"]
end

routes_by_domain_url.each do |url, hosts|
  domain = JSON.parse(`cf curl '#{url}'`).dig('entity', 'name')
  hosts.each do |host|
    puts "https://#{host}.#{domain}"
  end
end
```
assistant