Class: SecretHub::Commands::Delete

Inherits:
Base
  • Object
show all
Defined in:
lib/secret_hub/commands/delete.rb

Instance Method Summary collapse

Methods inherited from Base

#github

Instance Method Details

#runObject



14
15
16
17
18
19
20
# File 'lib/secret_hub/commands/delete.rb', line 14

def run
  repo = args['REPO']
  key = args['KEY']
  
  success = github.delete_secret repo, key
  say "Deleted !txtblu!#{repo} !txtpur!#{key}"
end