As Jordan Sissel always says, if you do a multi-step process more than once, you're doing it wrong.
This bash script creates the directory and info and module files for a new Drupal 6.x module.
Put all the included files into a directory together, then add that directory to your $PATH. I'd recommend /usr/bin/newmod/ or ~/bin/newmod/.
newmod module_name
- Creates
module_namedirectory - Creates
module_name/module_name.infowith basic template - Creates
module_name/module_name.modulewith basic template
That's it. Nothing fancy, just a time saver.
Modify the included template.info and template.module if you want the started files to be different.
- Written by Brock Boland
- On GitHub: http://github.com/brockboland/Bash-Drupal-Module-Creator