NAME

Mojo::Command::Cgi - CGI Command

SYNOPSIS

    use Mojo::Command::CGI;

    my $cgi = Mojo::Command::CGI->new;
    $cgi->run(@ARGV);

DESCRIPTION

Mojo::Command::Cgi is a command interface to Mojo::Server::CGI.

ATTRIBUTES

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

description

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

usage

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

METHODS

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

run

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