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 🌈


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