aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/help/help_command.rb
blob: 8e5b4d68d3b1ba1cf34cb233bbfe5b4658573412 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Rails
  module Command
    class HelpCommand < Base # :nodoc:
      hide_command!

      def help(*)
        puts self.class.desc

        Rails::Command.print_commands
      end
    end
  end
end