Sha256: f4073dd03932f46856a00042e56f6aa08aaa11d525927834148cacdfdc332a96

Contents?: true

Size: 446 Bytes

Versions: 5

Compression:

Stored size: 446 Bytes

Contents

require 'sym/app/commands/base_command'
require 'sym/app/keychain'
module Sym
  module App
    module Commands
      class PrintKey < BaseCommand
        required_options %i(keychain key)
        incompatible_options %i(examples help version bash_support)
        try_after :show_examples, :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.6.2 lib/sym/app/commands/print_key.rb
sym-2.6.1 lib/sym/app/commands/print_key.rb
sym-2.6.0 lib/sym/app/commands/print_key.rb
sym-2.5.3 lib/sym/app/commands/print_key.rb
sym-2.5.1 lib/sym/app/commands/print_key.rb