Sha256: 33fdc85c1cd2f48f32e01c7176d742c56b02c89ac9c65f19b39cbdbe2f5837ec

Contents?: true

Size: 283 Bytes

Versions: 3

Compression:

Stored size: 283 Bytes

Contents

require 'reek/cli/command'

module Reek
  module Cli
    #
    # A command to display usage information for this application.
    #
    class HelpCommand < Command
      def execute(view)
        view.output(@parser.help_text)
        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/help_command.rb
reek-1.5.0 lib/reek/cli/help_command.rb
reek-1.4.0 lib/reek/cli/help_command.rb