Fixed typo
[catagits/Catalyst-Runtime.git] / script / catalyst.pl
CommitLineData
fc7ec1d9 1#!/usr/bin/perl -w
2
3use strict;
4use Getopt::Long;
5use Pod::Usage;
6use Catalyst::Helper;
7
8my $help = 0;
9
10GetOptions( 'help|?' => \$help );
11
12pod2usage(1) if ( $help || !$ARGV[0] );
13
14my $helper = Catalyst::Helper->new;
15pod2usage(1) unless $helper->mk_app( $ARGV[0] );
16
171;
18__END__
19
20=head1 NAME
21
22catalyst - Bootstrap a Catalyst application
23
24=head1 SYNOPSIS
25
d459eb44 26catalyst.pl [options] application-name
fc7ec1d9 27
28 Options:
29 -help display this help and exits
30
31 application-name has to be a valid Perl module name and can include ::
32
33 Examples:
d459eb44 34 catalyst.pl My::App
35 catalyst.pl MyApp
fc7ec1d9 36
03a53815 37 See also:
38 perldoc Catalyst::Manual
39 perldoc Catalyst::Manual::Intro
40
fc7ec1d9 41=head1 DESCRIPTION
42
43Bootstrap a Catalyst application.
44
03a53815 45=head1 SEE ALSO
46
47L<Catalyst>, L<Catalyst::Manual>, L<Catalyst::Manual::Intro>,
48L<Catalyst::Test>, L<Catalyst::Request>, L<Catalyst::Response>,
49L<Catalyst::Engine>
50
fc7ec1d9 51=head1 AUTHOR
52
a739692c 53Sebastian Riedel, C<sri@oook.de>
fc7ec1d9 54
55=head1 COPYRIGHT
56
57Copyright 2004 Sebastian Riedel. All rights reserved.
58
59This library is free software. You can redistribute it and/or modify it under
60the same terms as perl itself.
61
62=cut