Mojo::Command::Generate::App(3) Application Generator Command

SYNOPSIS


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

DESCRIPTION

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.