Class: Secrets::App::Commands::DeleteKeychainKey

Inherits:
Command
  • Object
show all
Includes:
Secrets
Defined in:
lib/secrets/app/commands/delete_keychain_key.rb

Constant Summary

Constants included from Secrets

VERSION

Instance Attribute Summary

Attributes inherited from Command

#cli

Instance Method Summary collapse

Methods included from Secrets

included

Methods inherited from Command

inherited, #initialize, #key, #opts

Constructor Details

This class inherits a constructor from Secrets::App::Commands::Command

Instance Method Details

#runObject



9
10
11
# File 'lib/secrets/app/commands/delete_keychain_key.rb', line 9

def run
  Secrets::App::KeyChain.new(opts[:keychain_del]).delete
end