mkfeyorm.pl - App::mkfeyorm wrapper script. Make skeleton code with Fey::ORM.
version 0.010
If you want to generate My::Blog::Schema and My::Blog::Model::* modules, then run following script.
My::Blog::Schema
My::Blog::Model::*
$ 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
This is a App::mkfeyorm wrapper script. At least --schema and --tables options are needed.
--schema
--tables
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
Keedi Kim - 김도형 <keedi@cpan.org>
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.
To install App::mkfeyorm, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::mkfeyorm
CPAN shell
perl -MCPAN -e shell install App::mkfeyorm
For more information on module installation, please visit the detailed CPAN module installation guide.