Sha256: b9596541f4f243b75bde2b61d24f24cf3ef393af89f60d58186cc38c1fa644a1

Contents?: true

Size: 625 Bytes

Versions: 7

Compression:

Stored size: 625 Bytes

Contents

require 'lino'

require_relative 'base'
require_relative 'mixins/global_config'
require_relative 'mixins/colon_config'
require_relative 'mixins/with_captured_output'

module RubyGPG2
  module Commands
    class ListPublicKeys < Base
      include Mixins::GlobalConfig
      include Mixins::ColonConfig
      include Mixins::WithCapturedOutput

      def configure_command(builder, opts)
        builder = builder.with_subcommand('--list-public-keys')
        builder = super(builder, opts)
        builder
      end

      def do_after(opts)
        super(opts.merge(output_method: :public_keys))
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ruby_gpg2-0.1.0.pre.14 lib/ruby_gpg2/commands/list_public_keys.rb
ruby_gpg2-0.1.0.pre.13 lib/ruby_gpg2/commands/list_public_keys.rb
ruby_gpg2-0.1.0.pre.12 lib/ruby_gpg2/commands/list_public_keys.rb
ruby_gpg2-0.1.0.pre.11 lib/ruby_gpg2/commands/list_public_keys.rb
ruby_gpg2-0.1.0.pre.10 lib/ruby_gpg2/commands/list_public_keys.rb
ruby_gpg2-0.1.0.pre.9 lib/ruby_gpg2/commands/list_public_keys.rb
ruby_gpg2-0.1.0.pre.8 lib/ruby_gpg2/commands/list_public_keys.rb