Closed (fixed)
Project:
Drush
Component:
PM (dl, en, up ...)
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
29 Oct 2010 at 19:56 UTC
Updated:
22 Nov 2010 at 18:20 UTC
Jump to comment: Most recent file
I'm often asking myself "which modules are enabled in this site, anyway?" which of course leads me to pm-list, which I often run with --pipe, especially if I want to copy the list into some other document, which leads to manually removing the core modules. The --package filter is not convenient for this, so I added --contrib and --core options to pm-list. Problem solved.
n.b. --core could be removed, as it can already be done with an appropriate --package line, but --core is a bit more convenient.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | pm-list-no-core.patch | 1.67 KB | greg.1.anderson |
| pm-list-contrib.patch | 1.67 KB | greg.1.anderson |
Comments
Comment #1
moshe weitzman commentedHmmm. We discussed this at #440962: a way to list enabled modules so that this output can be fed to a disable command - like in drush_mm module but never did add this option. I'm ambivalent on it. I do think that people expect it.
We should call them 'core' and 'no-core' since custom (i.e. site specific) modules would be listed in -- contrib.
Comment #2
moshe weitzman commentedComment #3
moshe weitzman commentedComment #4
greg.1.anderson commentedHere is the same thing with --no-core instead of --contrib.
Comment #5
moshe weitzman commentedcomment needs updating: "// filter out core if --contrib specified". otherwise, rtbc
Comment #6
greg.1.anderson commentedCommitted.