Class: SecretHub::Commands::Delete
- Defined in:
- lib/secret_hub/commands/delete.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#run ⇒ Object
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 |