Sha256: 84b73e1921694f6b78de6a5f9a5046b0ce37be3c63726243210387d9ea3acfaa

Contents?: true

Size: 329 Bytes

Versions: 3

Compression:

Stored size: 329 Bytes

Contents

require 'reek'
require 'reek/cli/command'

module Reek
  module Cli
    #
    # A command to report the application's current version number.
    #
    class VersionCommand < Command
      def execute(view)
        view.output("#{@parser.program_name} #{Reek::VERSION}\n")
        view.report_success
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reek-1.5.1 lib/reek/cli/version_command.rb
reek-1.5.0 lib/reek/cli/version_command.rb
reek-1.4.0 lib/reek/cli/version_command.rb