Drush Module Manager

clemens.tolboom - March 13, 2008 - 12:16
Part of an ubercart install

This is a extension to http://drupal.org/project/drush

This module is about module management. That is something different that a drupal project because a project contains module(s). Modules gets enabled not projects. And as a developer I wanted a command-line interfaces to drupal. drush as a command line tool is great. But it failed to have module enable/disable/uninstall features which I wanted.

In developing this extension to drush I want pointed to the flaws of drupals module dependency management. So this is a 'proof of concept' that it can be done differently. There are discussions even about versions dependency management. So this module is not a solution for problems around dependency management.

With this drush extension you can do

drush pm install ubercart
drush mm enable uc_cart

instead of checking a lot of modules and resubmit the modules page over and over again.

Commands

drush mm enable
enabled the given modules and needed modules
drush mm disable
disabled the given modules and modules dependent on the given
drush mm list
lists all modules
drush mm dot
generates a 'dot' structure for processing with graphviz
drush mm uninstall
do not use unless you know what you are doinguninstalles the given modules and dependant on given modules too (which is a design flaw)

So is this module for you?
- If you use drush and needs to install drupal on a weekly basis as I do as a developer.
- If you wants to know what modules are enabled command-line based

For my point of view see http://build2be.com/content/module-management-drupal or watch my command-line exercise at http://blip.tv/file/get/Build2be-ImprovingModuleManagementInDrupal7220.m...

Regards,
Clemens

Releases

Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2008-Aug-2110.72 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2008-Aug-2111.13 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.