1 package Catalyst::Script::CGI;
4 BEGIN { $ENV{CATALYST_ENGINE} ||= 'CGI' }
9 use namespace::clean -except => [ qw(meta) ];
11 with 'MooseX::Getopt';
13 has app => ( isa => 'Str', is => 'ro', required => 1 );
14 has help => ( isa => 'Bool', is => 'ro', required => 0, default => sub { 0 } );
19 pod2usage() if $self->help;
21 Class::MOP::load_class($app);