Mojo::Command::Generate::App(3pm)

Mojo::Command::Generate::App3pm

Application generator command

Usage

    use Mojo::Command::Generate::App;
    my $app = Mojo::Command::Generate::App->new;
    $app->run(@ARGV);

Overview

Mojo::Command::Generate::App is an application generator.

Attributes

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

"description"

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

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

"usage"

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

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

Methods

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

"run"

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

Run this command.

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