1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails/commands/help/help_command.rb

15 lines
235 B
Ruby

# 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