Sha256: 63adbe5cb1054f70be15fac4d260802024b71487b9c513d44e7ebe3f0c080fb9

Contents?: true

Size: 403 Bytes

Versions: 13

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

module RuboCop
  class CLI
    module Command
      # Display version.
      # @api private
      class Version < Base
        self.command_name = :version

        def run
          puts RuboCop::Version.version(debug: false) if @options[:version]
          puts RuboCop::Version.version(debug: true) if @options[:verbose_version]
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
plaid-14.13.0 vendor/bundle/ruby/3.0.0/gems/rubocop-0.91.1/lib/rubocop/cli/command/version.rb
plaid-14.12.1 vendor/bundle/ruby/3.0.0/gems/rubocop-0.91.1/lib/rubocop/cli/command/version.rb
plaid-14.12.0 vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cli/command/version.rb
plaid-14.11.1 vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cli/command/version.rb
plaid-14.10.0 vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cli/command/version.rb
plaid-14.7.0 vendor/bundle/ruby/2.6.0/gems/rubocop-0.91.1/lib/rubocop/cli/command/version.rb
rubocop-0.93.1 lib/rubocop/cli/command/version.rb
rubocop-0.93.0 lib/rubocop/cli/command/version.rb
rubocop-0.92.0 lib/rubocop/cli/command/version.rb
rubocop-0.91.1 lib/rubocop/cli/command/version.rb
rubocop-0.91.0 lib/rubocop/cli/command/version.rb
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/rubocop-0.90.0/lib/rubocop/cli/command/version.rb
rubocop-0.90.0 lib/rubocop/cli/command/version.rb