Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Attached patch foregoes correctness in favor of speed. help command bootstraps only to CONFIGURATION phase instead of FULL. It shows all drush commands found in module directories for the current site - even disabled modules. If you try to run one of those disabled module commands, you get a nice error message (that was a patch from 2 days ago).
Feedback?
Comment | File | Size | Author |
---|---|---|---|
fast.patch | 3.24 KB | moshe weitzman |
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedComment #2
Owen Barton CreditAttribution: Owen Barton commentedTested, looks great - I think we should go with this.
Comment #3
moshe weitzman CreditAttribution: moshe weitzman commentedIt would only cost us 2 milliseconds or so to query system table and know the enabled modules. I think I'll add this then commit.
Comment #4
moshe weitzman CreditAttribution: moshe weitzman commentedCommitted without any check for enabled modules yet. Can be a follow-up issue.