Drupal::Module::Starter - Create Drupal Module starter files


Drupal-Module-Starter documentation  | view source Contained in the Drupal-Module-Starter distribution.

Index


NAME

Top

Drupal::Module::Starter - Create Drupal Module starter files

VERSION

Top

Version 0.05

SYNOPSIS

Top

    You probably don't want to use this module directly - you want to use the drupal-module-starter script in the scripts directory of the distribution

    use Drupal::Module::Starter;

    my $foo = Drupal::Module::Starter->new('path/to/config.yaml');
    $foo->generate;
    ...

FUNCTIONS

Top

new - constructor - requires a YAML file path

sample_yaml - create a sample yaml file to use as a template

generate_php - run through the requested module hooks and generate stubs

generate_readme - create a stub README.txt

generate_license - create a stub license file

generate_install - create a stub INSTALL.txt

generate_files - actually do the work and create the files if they exist

AUTHOR

Top

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

BUGS

Top

Please report any bugs or feature requests to bug-drupal-module-starter@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Drupal-ModStarter. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


Drupal-Module-Starter documentation  | view source Contained in the Drupal-Module-Starter distribution.