Class: RubyEasyRSA::Commands::GenReq

Inherits:
Base
  • Object
show all
Includes:
Mixins::AlgorithmConfig, Mixins::EncryptKeyConfig, Mixins::ExtraExtensionsConfig, Mixins::GlobalConfig, Mixins::SSLConfig
Defined in:
lib/ruby_easy_rsa/commands/gen_req.rb

Instance Attribute Summary

Attributes inherited from Base

#binary

Instance Method Summary collapse

Methods inherited from Base

#do_after, #do_before, #execute, #initialize, #instantiate_builder, #stderr, #stdin, #stdout

Constructor Details

This class inherits a constructor from RubyEasyRSA::Commands::Base

Instance Method Details

#configure_command(builder, opts) ⇒ Object



21
22
23
24
25
26
27
# File 'lib/ruby_easy_rsa/commands/gen_req.rb', line 21

def configure_command(builder, opts)
  filename_base = opts[:filename_base]

  builder = builder.with_subcommand('gen-req')
  builder = builder.with_argument(filename_base)
  super(builder, opts)
end