Sha256: 4ac367f17d34a865f13b7e0de9e72284f6cff1f72ec64f1f26e4d39ff7703082

Contents?: true

Size: 368 Bytes

Versions: 6

Compression:

Stored size: 368 Bytes

Contents

require_relative 'command'
require 'shhh/app/keychain'
module Shhh
  module App
    module Commands
      class DeleteKeychainItem < Command

        required_options :keychain_del
        try_after :generate_key, :open_editor, :encrypt_decrypt

        def execute
          Shhh::App::KeyChain.new(opts[:keychain_del]).delete
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
shhh-1.7.0 lib/shhh/app/commands/delete_keychain_item.rb
shhh-1.6.5 lib/shhh/app/commands/delete_keychain_item.rb
shhh-1.6.4 lib/shhh/app/commands/delete_keychain_item.rb
shhh-1.6.3 lib/shhh/app/commands/delete_keychain_item.rb
shhh-1.6.2 lib/shhh/app/commands/delete_keychain_item.rb
shhh-1.6.1 lib/shhh/app/commands/delete_keychain_item.rb