Hi All,

Does anyone know of a shell script of module that is similar to the rails script/generate?

I was hoping for something that might generate a basic module outline. Something to kind of place all the necessary basic starter stuff.

Have googled but cannot find anything so far.

Cheers,
Todd

Comments

minesota’s picture

Commonly requested links for Module Devlopers

Globally defined variables:
http://api.drupal.org/api/globals
Database schema:
http://drupal.org/node/146866
Form API Reference:
http://api.drupal.org/api/file/developer/topics/forms_api_reference.html

Creating Drupal 5.x modules - http://drupal.org/node/231275

Rather than Google you can use http://www.ixquick.com/
If your problem is solved edit the title of your post by prefixing [Solved]

Regards

modimanz’s picture

I wrote some python code to do this for drupal 7. Sorry about the necro post, however, it may help other people who find this.

here is the link:
http://drupal.org/node/1444526

jaypan’s picture

The only thing consistent between all modules is the name, description and core from the .info file, and the existence of a .module file (which doesn't even need to have any code).

Contact me to contract me for D7 -> D10/11 migrations.