Class: Sym::App::Commands::KeychainAddKey

Inherits:
BaseCommand show all
Defined in:
lib/sym/app/commands/keychain_add_key.rb

Constant Summary

Constants included from Sym

BASH_COMPLETION, COMPLETION_FILE, COMPLETION_PATH, DESCRIPTION, ENV_ARGS_VARIABLE_NAME, LOGGER, NIL_LOGGER, VERSION

Instance Method Summary collapse

Constructor Details

This class inherits a constructor from Sym::App::Commands::BaseCommand

Instance Method Details

#executeObject



13
14
15
# File 'lib/sym/app/commands/keychain_add_key.rb', line 13

def execute
  add_to_keychain_if_needed(self.key)
end