1Mojolicious::Command::rUosuetresC(o3n)tributed Perl DocuMmoejnotlaitciioonus::Command::routes(3)
2
3
4
6 Mojolicious::Command::routes - Routes command
7
9 Usage: APPLICATION routes [OPTIONS]
10
11 ./myapp.pl routes
12 ./myapp.pl routes -v
13
14 Options:
15 -h, --help Show this summary of available options
16 --home <path> Path to home directory of your application, defaults to
17 the value of MOJO_HOME or auto-detection
18 -m, --mode <name> Operating mode for your application, defaults to the
19 value of MOJO_MODE/PLACK_ENV or "development"
20 -v, --verbose Print additional details about routes, flags indicate
21 C=Conditions, P=Partial, U=Under and W=WebSocket
22
24 Mojolicious::Command::routes lists all your application routes.
25
26 This is a core command, that means it is always enabled and its code a
27 good example for learning to build new commands, you're welcome to fork
28 it.
29
30 See "COMMANDS" in Mojolicious::Commands for a list of commands that are
31 available by default.
32
34 Mojolicious::Command::routes inherits all attributes from
35 Mojolicious::Command and implements the following new ones.
36
37 description
38 my $description = $routes->description;
39 $routes = $routes->description('Foo');
40
41 Short description of this command, used for the command list.
42
43 usage
44 my $usage = $routes->usage;
45 $routes = $routes->usage('Foo');
46
47 Usage information for this command, used for the help screen.
48
50 Mojolicious::Command::routes inherits all methods from
51 Mojolicious::Command and implements the following new ones.
52
53 run
54 $routes->run(@ARGV);
55
56 Run this command.
57
59 Mojolicious, Mojolicious::Guides, <https://mojolicious.org>.
60
61
62
63perl v5.36.0 2023-01-20 Mojolicious::Command::routes(3)