mirror of
https://github.com/discourse/discourse.git
synced 2024-12-24 05:16:25 +08:00
75f4a14568
The previous approach of splitting Thor commands into multiple files caused problems when the same method name was used in multiple commands. This also loads the Rails environment only for commands that need it. That makes the CLI boot faster for most commands or when the help should be shown. That's also why we can't use `Rails.root` in the CLI. |
||
---|---|---|
.. | ||
cli |