Sha256: 03455ec7f7c564dee90829478678cd9a8ee56fad4d4921dd7279c1bd1183445f

Contents?: true

Size: 306 Bytes

Versions: 19

Compression:

Stored size: 306 Bytes

Contents

module Reek
  module Cli

    #
    # A command to display usage information for this application.
    #
    class HelpCommand
      def initialize(parser)
        @parser = parser
      end
      def execute(view)
        view.output(@parser.to_s)
        view.report_success
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
reek-1.3.8 lib/reek/cli/help_command.rb
reek-1.3.7 lib/reek/cli/help_command.rb
reek-1.3.6 lib/reek/cli/help_command.rb
reek-1.3.5 lib/reek/cli/help_command.rb
reek-1.3.4 lib/reek/cli/help_command.rb
reek-1.3.3 lib/reek/cli/help_command.rb
reek-1.3.2 lib/reek/cli/help_command.rb
reek-1.3.1 lib/reek/cli/help_command.rb
reek-1.3 lib/reek/cli/help_command.rb
reek-1.2.13 lib/reek/cli/help_command.rb
reek-1.2.12 lib/reek/cli/help_command.rb
reek-1.2.11 lib/reek/cli/help_command.rb
reek-1.2.10 lib/reek/cli/help_command.rb
reek-1.2.9 lib/reek/cli/help_command.rb
reek-1.2.8 lib/reek/cli/help_command.rb
reek-1.2.7.3 lib/reek/cli/help_command.rb
reek-1.2.7.2 lib/reek/cli/help_command.rb
reek-1.2.7.1 lib/reek/cli/help_command.rb
reek-1.2.7 lib/reek/cli/help_command.rb