Sha256: fe11bdf7e55f31d213c6a3f508e6afc04ce1db70b946247d9ef382a65aa559f1
Contents?: true
Size: 970 Bytes
Versions: 25
Compression:
Stored size: 970 Bytes
Contents
require 'lino' require_relative 'base' require_relative 'mixins/global_config' require_relative 'mixins/batch_config' require_relative 'mixins/passphrase_config' require_relative 'mixins/pinentry_config' require_relative 'mixins/armor_config' require_relative 'mixins/output_config' require_relative 'mixins/without_passphrase' module RubyGPG2 module Commands class ExportSecretKeys < Base include Mixins::GlobalConfig include Mixins::BatchConfig include Mixins::PassphraseConfig include Mixins::PinentryConfig include Mixins::ArmorConfig include Mixins::OutputConfig include Mixins::WithoutPassphrase def configure_command(builder, opts) names = opts[:names] || [] builder = super(builder, opts) builder = builder.with_subcommand('--export-secret-keys') 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