Sha256: f4c52cbdb7baa5331256f7f2e24df1896f384ec536ee6ef4ca1cfc75aae18181

Contents?: true

Size: 1.17 KB

Versions: 8

Compression:

Stored size: 1.17 KB

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'
require_relative 'mixins/encrypt_key_config'
require_relative 'mixins/inline_credentials_file_config'

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

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

        builder = builder.with_subcommand('build-clientServer-full')
        builder = builder.with_argument(filename_base)
        super(builder, opts)
      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/build_client_server_full.rb
ruby_easy_rsa-0.12.0.pre.3 lib/ruby_easy_rsa/commands/build_client_server_full.rb
ruby_easy_rsa-0.12.0.pre.2 lib/ruby_easy_rsa/commands/build_client_server_full.rb
ruby_easy_rsa-0.12.0.pre.1 lib/ruby_easy_rsa/commands/build_client_server_full.rb
ruby_easy_rsa-0.11.0 lib/ruby_easy_rsa/commands/build_client_server_full.rb
ruby_easy_rsa-0.10.0.pre.10 lib/ruby_easy_rsa/commands/build_client_server_full.rb
ruby_easy_rsa-0.10.0.pre.9 lib/ruby_easy_rsa/commands/build_client_server_full.rb
ruby_easy_rsa-0.10.0.pre.8 lib/ruby_easy_rsa/commands/build_client_server_full.rb