Sha256: 23afa9372ea5919d7164e994f53d329543db1ec692ccd07ecf19d14b6e6d9eca

Contents?: true

Size: 1015 Bytes

Versions: 6

Compression:

Stored size: 1015 Bytes

Contents

# frozen_string_literal: true

require 'lino'

require_relative 'base'
require_relative 'mixins/global_config'
require_relative 'mixins/algorithm_config'
require_relative 'mixins/ssl_config'
require_relative 'mixins/sub_ca_config'
require_relative 'mixins/copy_extensions_config'
require_relative 'mixins/extra_extensions_config'
require_relative 'mixins/netscape_extensions_config'

module RubyEasyRSA
  module Commands
    class SignReq < Base
      include Mixins::GlobalConfig
      include Mixins::AlgorithmConfig
      include Mixins::SSLConfig
      include Mixins::SubCAConfig
      include Mixins::CopyExtensionsConfig
      include Mixins::ExtraExtensionsConfig
      include Mixins::NetscapeExtensionsConfig

      private

      def configure_command(initial_builder, parameters)
        builder = super
        builder = builder.with_subcommand('sign-req')
        builder = builder.with_argument(parameters[:type])
        builder.with_argument(parameters[:filename_base])
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruby_easy_rsa-0.14.0.pre.2 lib/ruby_easy_rsa/commands/sign_req.rb
ruby_easy_rsa-0.14.0.pre.1 lib/ruby_easy_rsa/commands/sign_req.rb
ruby_easy_rsa-0.13.0 lib/ruby_easy_rsa/commands/sign_req.rb
ruby_easy_rsa-0.12.0.pre.7 lib/ruby_easy_rsa/commands/sign_req.rb
ruby_easy_rsa-0.12.0.pre.6 lib/ruby_easy_rsa/commands/sign_req.rb
ruby_easy_rsa-0.12.0.pre.5 lib/ruby_easy_rsa/commands/sign_req.rb