Sha256: ac8a0645aa28eac8d69bfc38b53feac58c1a4fdb324f77cba6b7adc81732cb1c

Contents?: true

Size: 364 Bytes

Versions: 4

Compression:

Stored size: 364 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 run
          Shhh::App::KeyChain.new(opts[:keychain_del]).delete
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shhh-1.5.4 lib/shhh/app/commands/delete_keychain_item.rb
shhh-1.4.1 lib/shhh/app/commands/delete_keychain_item.rb
shhh-1.4.0 lib/shhh/app/commands/delete_keychain_item.rb
shhh-1.3.0 lib/shhh/app/commands/delete_keychain_item.rb