If people download modules - Drush should show them the module names that can be enabled in the downloaded package. It' very important as there is no guarantee that the foldername is the same like the module name(s). See #427770: Rename the module so that it matches the project name to avoid confusion for an example that is very common and this becomes more important if a module also have submodules. CCK is a perfect example here where the module package name is cck, but modules in the package are named content, text, etc.

It's difficult to guess and drush should simply list the available names. Shouln't be a big trick to implement, but a great usability improvement!

Comments

jonhattan’s picture

Status: Active » Fixed

Good news. It is already done in drush-HEAD.

$ drush dl cck
Project cck (6.x-2.8) downloaded to /tmp/cck.                                                                                                     [success]
Project cck contains 9 modules: fieldgroup, nodereference, number, userreference, content_permissions, text, content_copy, optionwidgets, content.
hass’s picture

Great, thx!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.