Mojo::Command::Psgi(3pm)

Mojo::Command::Psgi3pm

Psgi command

Usage

    use Mojo::Command::Psgi;
    my $psgi = Mojo::Command::Psgi->new;
    my $app = $psgi->run;

Overview

Mojo::Command::Psgi is a command interface to Mojo::Server::PSGI.

Attributes

Mojo::Command::Psgi inherits all attributes from Mojo::Command and implements the following new ones.

"description"

    my $description = $psgi->description;
    $psgi           = $psgi->description('Foo!');

Short description of this command, used for the command list.

"usage"

    my $usage = $psgi->usage;
    $psgi     = $psgi->usage('Foo!');

Usage information for this command, used for the help screen.

Methods

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

"run"

    my $app = $psgi->run;

Run this command.

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