# File lib/rhc/commands/alias.rb, line 110
    def list(app)
      rest_app = find_app
      items = rest_app.aliases.map do |a|
        a.is_a?(String) ?
          [a, 'no', '-'] :
          [a.id, a.has_private_ssl_certificate? ? 'yes' : 'no', a.has_private_ssl_certificate? ? Date.parse(a.certificate_added_at) : '-']
      end
      if items.empty?
        info "No aliases associated with the application #{app}."
      else
        say table(items, :header => ["Alias", "Has Certificate?", "Certificate Added"])
      end
      0
    end