Sha256: 09f15a9c9ad98b4b7a71e2b8704d37a2df3e961038f3b2a3280eaa17ab7d0060

Contents?: true

Size: 635 Bytes

Versions: 8

Compression:

Stored size: 635 Bytes

Contents

# frozen_string_literal: true

require 'lino'

require_relative 'base'
require_relative 'mixins/global_config'
require_relative 'mixins/ssl_config'

module RubyEasyRSA
  module Commands
    class ImportReq < Base
      include Mixins::GlobalConfig
      include Mixins::SSLConfig

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby_easy_rsa-0.12.0.pre.4 lib/ruby_easy_rsa/commands/import_req.rb
ruby_easy_rsa-0.12.0.pre.3 lib/ruby_easy_rsa/commands/import_req.rb
ruby_easy_rsa-0.12.0.pre.2 lib/ruby_easy_rsa/commands/import_req.rb
ruby_easy_rsa-0.12.0.pre.1 lib/ruby_easy_rsa/commands/import_req.rb
ruby_easy_rsa-0.11.0 lib/ruby_easy_rsa/commands/import_req.rb
ruby_easy_rsa-0.10.0.pre.10 lib/ruby_easy_rsa/commands/import_req.rb
ruby_easy_rsa-0.10.0.pre.9 lib/ruby_easy_rsa/commands/import_req.rb
ruby_easy_rsa-0.10.0.pre.8 lib/ruby_easy_rsa/commands/import_req.rb