Method: Sem::CLI::Teams::Secrets#remove
- Defined in:
- lib/sem/cli/teams.rb
#remove(team_name, secret_name) ⇒ Object
302 303 304 305 306 307 308 309 |
# File 'lib/sem/cli/teams.rb', line 302 def remove(team_name, secret_name) team = Sem::API::Team.find!(team_name) secret = Sem::API::Secret.find!(secret_name) team.remove_secret(secret) puts "Secrets #{secret_name} removed from the team." end |