1CAS-STARTER(1)        User Contributed Perl Documentation       CAS-STARTER(1)
2
3
4

NAME

6       cas-starter.pl - creates a skeleton CGI::Application::Structured
7       project.
8

ABSTRACT

10       Creates CGI::Application::Structured based applications.
11

VERSION

13       Version 0.003
14

SYNOPSIS

16           ~/tmp$ cas-starter.pl --module=MyApp1 \
17                                                       --author=gordon \
18                                                       --email="vanamburg@cpan.org" \
19                                                       --verbose
20           Created MyApp1
21           Created MyApp1/lib
22           Created MyApp1/lib/MyApp1.pm                      # YOUR *CONTROLLER BASE CLASS* !
23           Created MyApp1/t
24           Created MyApp1/t/pod-coverage.t
25           Created MyApp1/t/pod.t
26           Created MyApp1/t/01-load.t
27           Created MyApp1/t/test-app.t
28           Created MyApp1/t/perl-critic.t
29           Created MyApp1/t/boilerplate.t
30           Created MyApp1/t/00-signature.t
31           Created MyApp1/t/www
32           Created MyApp1/t/www/PUT.STATIC.CONTENT.HERE
33           Created MyApp1/templates/MyApp1/C/Home
34           Created MyApp1/templates/MyApp1/C/Home/index.tmpl # DEFAULT HOME PAGE TEMPLATE
35           Created MyApp1/Makefile.PL
36           Created MyApp1/Changes
37           Created MyApp1/README
38           Created MyApp1/MANIFEST.SKIP
39           Created MyApp1/t/perlcriticrc
40           Created MyApp1/lib/MyApp1/C                       # YOUR CONTROLLERS GO HERE
41           Created MyApp1/lib/MyApp1/C/Home.pm               # YOUR *DEFAULT CONTROLLER SUBCLASS*
42           Created MyApp1/lib/MyApp1/Dispatch.pm             # YOUR CUSTOM DISPATCHER
43           Created MyApp1/config
44           Created MyApp1/config/config-dev.pl               # YOU CONFIG -- MUST BE EDITED BY YOU!
45           Created MyApp1/script
46           Created MyApp1/script/create_dbic_schema.pl       # IMPORTANT HELPER SCRIPT
47           Created MyApp1/script/create_controller.pl        # ANOTHER IMPORTANT HELPER SCRIPT.
48           Created MyApp1/server.pl                          # SERVER USES YOUR CUSTOM DISPATCH.PM
49           Created MyApp1/MANIFEST
50           Created starter directories and files
51
52       Options:
53
54           --module=module  Module name
55           --dir=dirname    Directory name to create new module in (optional)
56
57           --builder=module Build with 'ExtUtils::MakeMaker' or 'Module::Build'
58           --eumm           Same as --builder=ExtUtils::MakeMaker
59           --mb             Same as --builder=Module::Build
60           --mi             Same as --builder=Module::Install
61
62           --author=name    Author's name (required)
63           --email=email    Author's email (required)
64           --license=type   License under which the module will be distributed
65                            (default is the same license as perl)
66
67           --verbose        Print progress messages while working
68           --force          Delete pre-existing files if needed
69
70           --help           Show this message
71

DESCRIPTION

73       Sets up a working skeleton for an CGI::Application::Structured-based
74       project, packaged as a CPAN module. The script also generates:
75
76            - a base controller class
77            - an organized directory structure to contain your modules
78            - a default Home module (subclass of base controller)
79            - a default runmode for Home ('index') with a corresponding template
80            - a default configuration for Template Toolkit
81            - basic automated tests
82            - a helper script to generate controller subclasses and TT templates
83            - a helper script to generate DBIx::Class schema and resultset classes for your database.
84
85       By default the skeleton files can be found in the "templates" directory
86       where CGI::Application::Structured::Tools::Starter is stored.
87
88       Multiple --builder options may be supplied to produce the files for
89       multiple builders.
90
91       See CGI::Application::Structured for a brief tutorial on using the
92       helper scripts.
93

POD ERRORS

95       Hey! The above document had some coding errors, which are explained
96       below:
97
98       Around line 131:
99           Unknown directive: =head
100
101
102
103perl v5.32.1                      2021-01-26                    CAS-STARTER(1)
Impressum