# File lib/rhc/context_helper.rb, line 64
    def find_team(opts={})
      if id = options.team_id.presence
        return rest_client.find_team_by_id(id, opts)
      end
      team_name = (opts && opts[:team_name]) || options.team_name
      if team_name.present?
        rest_client.find_team(team_name, opts)
      else
        raise ArgumentError, "You must specify a team name with -t, or a team id with --team-id."
      end
    end