Class: RubyGPG2::Commands::GenerateKey
- Includes:
- Mixins::BatchConfig, Mixins::GlobalConfig, Mixins::PassphraseConfig, Mixins::PinentryConfig, Mixins::StatusConfig, Mixins::WithCapturedStatus, Mixins::WithoutPassphrase
- Defined in:
- lib/ruby_gpg2/commands/generate_key.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from RubyGPG2::Commands::Base
Instance Method Details
#configure_command(builder, parameters) ⇒ Object
25 26 27 28 29 30 31 32 |
# File 'lib/ruby_gpg2/commands/generate_key.rb', line 25 def configure_command(builder, parameters) parameter_file_path = parameters[:parameter_file_path] b = builder.with_subcommand('--generate-key') b = super(b, parameters) b = b.with_argument(parameter_file_path) if parameter_file_path b end |