Steve McNabb > Drupal-Module-Starter-0.02 > drupal-module-starter

Download:
Drupal-Module-Starter/Drupal-Module-Starter-0.02.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: Drupal-Module-Starter-0.06

NAME ^

drupal-module-starter - creates a skeleton Drupal module distribution

SYNOPSIS ^

drupal-module-starter [options]

Options:

    --module=your_module_name  Module name (required, repeatable)
    --dir            Directory name to create new module in (optional)
    --author=name    Author's name (required)
    --email=email    Author's email (required)
    --hooks=list,of,hooks,here Which hooks you wish to generate stubs for
    --verbose     Print progress messages while working
    --force          Delete pre-existing files if needed

    --help           Show this message

Example:

drupal-module-starter --module=Recording,Artist,Track,Discography,Review,PodCastGenerator,Pony \ --author="Steve McNabb" --email="smcnabb@cpan.org" \ --dir=/tmp/someone/projects/drupal/dev --hooks=xmlrpc,form,help,info,init,insert,delete,update

 This would create the 7 listed modules, each in its own directory under --dir, with stubs installed for
 the listed --hooks (if any).

hook_name and hook_perm are always generated.s

AUTHOR ^

Steve McNabb, <smcnabb@cpan.org> IT Director, F5 Site Design - http://www.f5sitedesign.com Open Source Internet Application Development

1;