Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.