If you have drush >= 8 you can use drush pm-projectinfo
to show a report of available projects and their extensions. If you use drush pm-projectinfo devel
you should see the information about the devel module something like this:
Name : Devel (devel)
Type : module
Version : 7.x-1.3
Status : 1
Extensions : devel
devel_generate
devel_node_access
Drush Commands : devel-download
devel-reinstall
fn-hook
fn-view
devel-token
Datestamp : 1338940281
Path : sites/all/modules/development/devel
I come from creating a custom module named my_custom_module, but when I use drush pm-projectinfo my_custom_module
the output is:
[warning] my_custom_module was not found.
It's very weird because I know that my module works fine, I use it every day, but the command doesn't work.
How can I solve this? Is it a problem with drush or is it a problem with my custom module?