Keedi Kim > App-mkfeyorm-0.010 > mkfeyorm.pl

Download:
App-mkfeyorm-0.010.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

mkfeyorm.pl - App::mkfeyorm wrapper script. Make skeleton code with Fey::ORM.

VERSION ^

version 0.010

SYNOPSIS ^

If you want to generate My::Blog::Schema and My::Blog::Model::* modules, then run following script.

    $ mkfeyorm.pl \
        --namespace My::Blog \
        --schema Schema \
        --table_namespace Model \
        --tables User \
        --tables Role \
        --tables UserRole \
        --tables Post \
        --tables Comment

You can also specify database name explicitly.

    $ mkfeyorm.pl \
        --namespace My::Blog \
        --table_namespace Model \
        --schema Schema \
        --tables User,user \
        --tables Role,role \
        --tables UserRole,user_role \
        --tables Post,post \
        --tables Comment,comment

DESCRIPTION ^

This is a App::mkfeyorm wrapper script. At least --schema and --tables options are needed.

OPTIONS ^

    mkfeyorm.pl [-hnostv] [long options...] ...
        -s --schema             schema module name
        -t --tables             table module name list
        -n --namespace          base namespace
        --table_namespace       base table namespace
        --schema_namespace      base schema namespace
        -o --output_path        base directory (default: lib/)
    
        -v --verbose            print extra stuff
        -h --help               print usage message and exit

SEE ALSO ^

Fey::ORM
App::mkfeyorm

AUTHOR ^

Keedi Kim - 김도형 <keedi@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011 by Keedi Kim.

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

syntax highlighting: