Mojolicious::Command::Routes.3pm

Langue: en

Version: 2010-08-12 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Mojolicious::Command::Routes - Routes Command

SYNOPSIS

     use Mojolicious::Command::Routes;
 
     my $routes = Mojolicious::Command::Routes->new;
     $routes->run(@ARGV);
 
 

DESCRIPTION

Mojolicious::Command::Routes prints all your application routes.

ATTRIBUTES

Mojolicious::Command::Routes inherits all attributes from Mojo::Command and implements the following new ones.

description

     my $description = $routes->description;
     $routes         = $routes->description('Foo!');
 
 

Short description of this command, used for the command list.

usage

     my $usage = $routes->usage;
     $routes   = $routes->usage('Foo!');
 
 

Usage information for this command, used for the help screen.

METHODS

Mojolicious::Command::Routes inherits all methods from Mojo::Command and implements the following new ones.

run

     $routes = $routes->run(@ARGV);
 
 

Run this command.

SEE ALSO

Mojolicious, Mojolicious::Guides, <http://mojolicious.org>.