Steve McNabb > Drupal-Module-Starter-0.06 > Drupal::Module::Starter

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

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.06   Source  

NAME ^

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

VERSION ^

Version 0.05

SYNOPSIS ^

    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 ^

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 ^

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

BUGS ^

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 ^

COPYRIGHT & LICENSE ^

Copyright 2006 Steve McNabb, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: