Sha256: 9e2ed0a91ad67c23d388ccc2d1ac1bd0986ad7f0ddfd619641748c9419d9286e

Contents?: true

Size: 368 Bytes

Versions: 5

Compression:

Stored size: 368 Bytes

Contents

require 'sym/app/commands/base_command'
require 'sym/app/keychain'
module Sym
  module App
    module Commands
      class PrintKey < BaseCommand
        required_options [ :keychain, :keyfile ]

        try_after :generate_key, :encrypt_decrypt, :password_protect_key, :keychain_add_key

        def execute
          self.key
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sym-2.2.1 lib/sym/app/commands/print_key.rb
sym-2.2.0 lib/sym/app/commands/print_key.rb
sym-2.1.2 lib/sym/app/commands/print_key.rb
sym-2.1.1 lib/sym/app/commands/print_key.rb
sym-2.1.0 lib/sym/app/commands/print_key.rb