The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Mojo::Command::Generate::Psgi - PSGI Generator Command

SYNOPSIS

    use Mojo::Command::Generate::Psgi;

    my $psgi = Mojo::Command::Generate::Psgi->new;
    $psgi->run(@ARGV);

DESCRIPTION

Mojo::Command::Generate::Psgi is a PSGI file generator.

ATTRIBUTES

Mojo::Command::Generate::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::Generate::Psgi inherits all methods from Mojo::Command and implements the following new ones.

run

    $psgi = $psgi->run(@ARGV);

Run this command.

SEE ALSO

Mojolicious, Mojolicious::Guides, http://mojolicious.org.