Mojolic...ate::app(3)
NAME πΈ
Welcome to the Mojolic...ate::app(3) page, bestie β this is the User Contributed Perl Documentation entry for Mojolicious::Command::Author::generate::app, aka the App generator command. π
β¨ SYNOPSIS β¨
Okay so here's the usage vibe, no cap:
Usage: APPLICATION generate app [OPTIONS] [NAME]
mojo generate app
mojo generate app TestApp
mojo generate app My::TestApp
Options:
-h,--helpβ Show this summary of available options.
π DESCRIPTION π
Mojolicious::Command::Author::generate::app generates application directory structures for fully functional Mojolicious applications. It's giving scaffolding, but make it Mojolicious, fr fr. π¦
This is a core command, which means it is always enabled, and its code is a good example for learning to build new commands. You're welcome to fork it β periodt. π
See "COMMANDS" in Mojolicious::Commands for a list of commands that are available by default.
π ATTRIBUTES π
Mojolicious::Command::Author::generate::app inherits all attributes from Mojolicious::Command and implements the following new ones. So you get the base attributes plus these two cuties: π
description
my $description = $app->description;
$app = $app->description('Foo');
A short description of this command, used for the command list. Basically the lil one-liner that shows up when the commands are listed. β¨
usage
my $usage = $app->usage;
$app = $app->usage('Foo');
Usage information for this command, used for the help screen. It's the "how do I use this" text that pops up in help. π«Ά
π¦ METHODS π¦
Mojolicious::Command::Author::generate::app inherits all methods from Mojolicious::Command and implements the following new ones. Main character method incoming: π
run
$app->run(@ARGV);
Run this command. That's it β that's the method. It runs the command. π
π SEE ALSO π
MojoliciousMojolicious::Guides<https://mojolicious.org>
Okay bye bestie! π This Mojolic...ate::app(3) page is brought to you by perl v5.42.0 and dated 2026-07-15. Slay and stay iconic. π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Mojolicious 9.480.0-bp160.2.1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms