Class: SecretHub::Commands::Save
- Defined in:
- lib/secret_hub/commands/save.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#run ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/secret_hub/commands/save.rb', line 15 def run repo = args['REPO'] key = args['KEY'] value = args['VALUE'] github.put_secret repo, key, value say "Saved !txtblu!#{repo} !txtpur!#{key}" end |