Документация Perl 5

Mojolicious::Command::Routes


НАЗВАНИЕ

Mojolicious::Command::Routes - Routes Command

КРАТКИЙ ОБЗОР

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

ОПИСАНИЕ

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

АТРИБУТЫ

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.

МЕТОДЫ

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

run

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

Run this command.

СМ. ТАКЖЕ

Mojolicious, Mojolicious::Guides, http://mojolicio.us.