1Catalyst::Script::CreatUes(e3r)Contributed Perl DocumentCaattiaolnyst::Script::Create(3)
2
3
4

NAME

6       Catalyst::Script::Create - Create a new Catalyst Component
7

SYNOPSIS

9        myapp_create.pl [options] model|view|controller name [helper] [options]
10
11        Options:
12          --force        don't create a .new file where a file to be created exists
13          --mechanize    use Test::WWW::Mechanize::Catalyst for tests if available
14          --help         display this help and exits
15
16        Examples:
17          myapp_create.pl controller My::Controller
18          myapp_create.pl controller My::Controller BindLex
19          myapp_create.pl --mechanize controller My::Controller
20          myapp_create.pl view My::View
21          myapp_create.pl view MyView TT
22          myapp_create.pl view TT TT
23          myapp_create.pl model My::Model
24          myapp_create.pl model SomeDB DBIC::Schema MyApp::Schema create=dynamic\
25          dbi:SQLite:/tmp/my.db
26          myapp_create.pl model AnotherDB DBIC::Schema MyApp::Schema create=static\
27          dbi:Pg:dbname=foo root 4321
28
29        See also:
30          perldoc Catalyst::Manual
31          perldoc Catalyst::Manual::Intro
32

DESCRIPTION

34       Create a new Catalyst Component.
35
36       Existing component files are not overwritten.  If any of the component
37       files to be created already exist the file will be written with a
38       '.new' suffix.  This behavior can be suppressed with the "--force"
39       option.
40

SEE ALSO

42       Catalyst::ScriptRunner
43

AUTHORS

45       Catalyst Contributors, see Catalyst.pm
46
48       This library is free software, you can redistribute it and/or modify it
49       under the same terms as Perl itself.
50
51
52
53perl v5.32.1                      2021-01-26       Catalyst::Script::Create(3)
Impressum