logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Catalyst::ScriptRole - Common functionality for Catalyst scripts.

Attributes

application_name
       The name of the application class, e.g. MyApp

Authors

       Catalyst Contributors, see Catalyst.pm

Description

       Role with the common functionality of Catalyst scripts.

Methods

run
       The method invoked to run the application.

   print_usage_text
       Prints out the usage text for the script you tried to invoke.

Name

       Catalyst::ScriptRole - Common functionality for Catalyst scripts.

See Also

       Catalyst

       MooseX::Getopt

Synopsis

           package MyApp::Script::Foo;
           use Moose;
           use namespace::autoclean;

           with 'Catalyst::ScriptRole';

           sub _application_args { ... }

See Also