---
name: "Mojolicious::Command::Routes"
section: "3pm"
platform: "linux"
package: "libmojolicious-perl"
version: "0.999926-1+squeeze2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/Mojolicious::Command::Routes"
---

# Mojolicious::Command::Routes(3pm)

Routes Command

## 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\>.
