Using Drush to list your modules and their statuses: drush sm (for show modules)
On the command line and want to list the modules you have on your site? Fortunately, there's a module-listing command that Agaric's Stefan Freudenberg contributed to Drush.
drush sm
Think "show modules" to remember sm. (The official full name of the command is pm-list which is confusing so just ignore it.)
You can do all your usual fancy command line things:
ben@ubuntu:~/code/agaric/web$ drush sm | grep Views
Views (views) Module Enabled 6.x-2.10
Views attach (views_attach) Module Enabled 6.x-2.2
Views Block (views_block) Module Enabled 6.x-1.0
Bonus: Views Export (views_bonus_export) Module Enabled 6.x-1.0
Bonus: Views Spy (views_bonus_spy) Module Not installed 6.x-1.0
Views Bulk Operations Module Enabled 6.x-1.9
Views content panes (views_content) Module Not installed 6.x-1.2
Views exporter (views_export) Module Enabled 6.x-2.10
Views Gallery (views_gallery) Module Enabled 6.x-1.2
Views Gallery for Organic Groups Module Not installed 6.x-1.2
Views Slideshow (views_slideshow) Module Enabled 6.x-2.0-bet
Views Slideshow: SingleFrame Module Enabled 6.x-2.0-bet
Views Slideshow: ThumbnailHover Module Enabled 6.x-2.0-bet
Views UI (views_ui) Module Enabled 6.x-2.10
To list the Views-related module installed on a particular website from somewhere else on the command path, use -r to provide a path to the Drupal root directory:
drush sm -r ~/code/agaric/web | grep Views
Comments
Post new comment