Closed (fixed)
Project:
Drush
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2009 at 12:37 UTC
Updated:
12 Apr 2010 at 20:20 UTC
Jump to comment: Most recent file
I have created a patch that implements a 'drush pm list' command to retrieve a list of available modules for a given Drupal installation. It shows shortname, title and author of the module and an installed/not installed flag. An argument can be supplied to filter the list by shortname.
Known issues: depends on allow_url_fopen and php >= 5.2.0.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | drush_extras_list.diff | 4.9 KB | stefan freudenberg |
| drush_pm_list.diff | 3.55 KB | stefan freudenberg |
Comments
Comment #1
moshe weitzman commentedSounds like a dupe of the newly introduced `status modules` command in drush_extras
Comment #2
stefan freudenberg commentedIt's not a duplicate because it retrieves the list of available projects from update.drupal.org, like
gem list -rfor rubygems. It shows only projects that have a compatible API release. I have attached a new patch for the 6.2 branch. Currently it marks installed modules but I would change it so that it shows enabled/disabled status, too.My idea is to help drush users to lookup project names when using the command line. Also included in the list is the author's name so you can run
drush list | grep authorto see all modules written by author. Output format resemblesdpkg -lwhich lists Debian packages.Comment #3
moshe weitzman commentedAh, I see. If this does not consume crazy memory or take 30 seconds to download the gigantic XML file, then it is sweet feature. Reviewers wanted.
Comment #4
greg.1.anderson commentedpm-list has been committed in drush project.