Sha256: 952c67e85bf1976236c2b2a151f959bc146b1b424004b6543ed1b3b0d7dc3837

Contents?: true

Size: 526 Bytes

Versions: 3

Compression:

Stored size: 526 Bytes

Contents

require 'lino'

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

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

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

        builder = builder.with_subcommand('revoke')
        builder = builder.with_argument(filename_base)
        builder = super(builder, opts)
        builder
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby_easy_rsa-0.2.0.pre.9 lib/ruby_easy_rsa/commands/revoke.rb
ruby_easy_rsa-0.2.0.pre.8 lib/ruby_easy_rsa/commands/revoke.rb
ruby_easy_rsa-0.2.0.pre.7 lib/ruby_easy_rsa/commands/revoke.rb