Jesse fixed some typos in the new Intro.pod
[catagits/Catalyst-Runtime.git] / bin / catalyst
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
26catalyst [options] application-name
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:
34 catalyst My::App
35 catalyst MyApp
36
37=head1 DESCRIPTION
38
39Bootstrap a Catalyst application.
40
41=head1 AUTHOR
42
43Sebastian Riedel Sebastian Riedel, C<sri@oook.de>
44
45=head1 COPYRIGHT
46
47Copyright 2004 Sebastian Riedel. All rights reserved.
48
49This library is free software. You can redistribute it and/or modify it under
50the same terms as perl itself.
51
52=cut