Sha256: ab6161073a5c85e48f4d0d849f3271804a707585ea4382b1bfcabd40602597e7

Contents?: true

Size: 310 Bytes

Versions: 4

Compression:

Stored size: 310 Bytes

Contents

require_relative 'command'
require 'shhh/app/keychain'
module Shhh
  module App
    module Commands
      class PrintKey < Command
        include Shhh
        required_options [ :keychain, :keyfile ]

        try_after :show_examples

        def run
          cli.key
        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/print_key.rb
shhh-1.4.1 lib/shhh/app/commands/print_key.rb
shhh-1.4.0 lib/shhh/app/commands/print_key.rb
shhh-1.3.0 lib/shhh/app/commands/print_key.rb