Skip to content

brockboland/Bash-Drupal-Module-Creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bash Drupal Module Creator

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.

Installation

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/.

Usage

newmod module_name

Result

  • Creates module_name directory
  • Creates module_name/module_name.info with basic template
  • Creates module_name/module_name.module with basic template

That's it. Nothing fancy, just a time saver.

Customization

Modify the included template.info and template.module if you want the started files to be different.

Meta

About

Bash script to create the files necessary to build a Drupal 6.x module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages