Method: Spaceship::Portal.select_team
- Defined in:
- spaceship/lib/spaceship/portal/spaceship.rb
.select_team(team_id: nil, team_name: nil) ⇒ String
Open up the team selection for the user (if necessary).
If the user is in multiple teams, a team selection is shown. The user can then select a team by entering the number
Additionally, the team ID is shown next to each team name so that the user can use the environment variable ‘FASTLANE_TEAM_ID` for future user.
42 43 44 |
# File 'spaceship/lib/spaceship/portal/spaceship.rb', line 42 def select_team(team_id: nil, team_name: nil) @client.select_team(team_id: team_id, team_name: team_name) end |