Drush Modulesmith
Component ID
2246501
Component name
Drush Modulesmith
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
891
Component created
Component changed
Component body
Create simple modules with Drush.
Usage:
drush modulesmith-forge modulename
drush msf modulename sites/all/modules/customBy default, it will try to put it in the following paths:
sites/all/modules/custom
sites/all/modules
profiles/INSTALLPROFILE/modules/custom
profiles/INSTALLPROFILE/modulesInstall
Via drush:
drush dl drush_modulesmith
Manually:
cd ~/.drush/
git clone git@github.com:robballou/drush_modulesmith.gitWhy this command?
You can use module_builder to build modules. It's a great tool and fully featured. module_builder normally installs into your project though (but it doesn't have to). And it does quite a lot (which is good ... unless you need something simple). This just adds a module skeleton for you and you can then add your code as needed.
