Sha256: 011ffb33638f2f8f062b6804e96965c452ea698ad84f645514d5c02b79c94d57

Contents?: true

Size: 628 Bytes

Versions: 25

Compression:

Stored size: 628 Bytes

Contents

require 'lino'

require_relative 'base'
require_relative 'mixins/global_config'
require_relative 'mixins/armor_config'
require_relative 'mixins/output_config'

module RubyGPG2
  module Commands
    class Export < Base
      include Mixins::GlobalConfig
      include Mixins::ArmorConfig
      include Mixins::OutputConfig

      def configure_command(builder, opts)
        names = opts[:names] || []

        builder = super(builder, opts)
        builder = builder.with_subcommand('--export')
        names.each do |name|
          builder = builder.with_argument(name)
        end
        builder
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
ruby_gpg2-0.9.0.pre.6 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.9.0.pre.5 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.9.0.pre.4 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.9.0.pre.3 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.9.0.pre.2 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.9.0.pre.1 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.8.0 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.7.0.pre.1 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.6.0 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.5.0.pre.1 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.4.0 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.3.0.pre.2 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.3.0.pre.1 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.2.0 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.1.0.pre.27 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.1.0.pre.26 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.1.0.pre.25 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.1.0.pre.24 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.1.0.pre.23 lib/ruby_gpg2/commands/export.rb
ruby_gpg2-0.1.0.pre.22 lib/ruby_gpg2/commands/export.rb