Mojolicious::Command::Routes(3pm)

Mojolicious::Command::Routes3pm

Routes command

Usage

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

Overview

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.

From libmojolicious-perl 0.999926-1+squeeze2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.