1Mojolicious::Command::pUssgeir(3C)ontributed Perl DocumeMnotjaotliiocnious::Command::psgi(3)
2
3
4

NAME

6       Mojolicious::Command::psgi - PSGI command
7

SYNOPSIS

9         Usage: APPLICATION psgi [OPTIONS]
10
11           ./myapp.pl psgi
12
13         Options:
14           -h, --help          Show this summary of available options
15               --home <path>   Path to home directory of your application, defaults to
16                               the value of MOJO_HOME or auto-detection
17           -m, --mode <name>   Operating mode for your application, defaults to the
18                               value of MOJO_MODE/PLACK_ENV or "development"
19

DESCRIPTION

21       Mojolicious::Command::psgi starts applications with the
22       Mojo::Server::PSGI backend.
23
24       This is a core command, that means it is always enabled and its code a
25       good example for learning to build new commands, you're welcome to fork
26       it.
27
28       See "COMMANDS" in Mojolicious::Commands for a list of commands that are
29       available by default.
30

ATTRIBUTES

32       Mojolicious::Command::psgi inherits all attributes from
33       Mojolicious::Command and implements the following new ones.
34
35   description
36         my $description = $psgi->description;
37         $psgi           = $psgi->description('Foo');
38
39       Short description of this command, used for the command list.
40
41   usage
42         my $usage = $psgi->usage;
43         $psgi     = $psgi->usage('Foo');
44
45       Usage information for this command, used for the help screen.
46

METHODS

48       Mojolicious::Command::psgi inherits all methods from
49       Mojolicious::Command and implements the following new ones.
50
51   run
52         my $app = $psgi->run;
53
54       Run this command.
55

SEE ALSO

57       Mojolicious, Mojolicious::Guides, <https://mojolicious.org>.
58
59
60
61perl v5.30.0                      2019-07-26     Mojolicious::Command::psgi(3)
Impressum