Mojolic...:inflate(3)
π NAME π
ok so this is Mojolicious::Command::Author::inflate β the Inflate command, bestie. that's it, that's the name β¨
(it lives in the User Contributed Perl Documentation section of your man pages, just so you know where you wandered in from π«Ά)
β¨ SYNOPSIS β¨
here's literally the whole vibe:
Usage: APPLICATION inflate [OPTIONS]
./myapp.pl inflate
Options:
-h, --help Show this summary of available options
--home <path> Path to home directory of your application, defaults to
the value of MOJO_HOME or auto-detection
-m, --mode <name> Operating mode for your application, defaults to the
value of MOJO_MODE/PLACK_ENV or "development"
π DESCRIPTION π
okay so what does Mojolicious::Command::Author::inflate actually do? it turns templates and static files that are embedded in the DATA sections of your application into real files. like, actual files on disk. no cap. it's giving "release the templates from their little DATA prison" energy π₯
this is a core command, meaning it's always enabled β and its code is a genuinely good example if you wanna learn how to build new commands. you're welcome to fork it, bestie, go off π
also, check out "COMMANDS" in Mojolicious::Commands for the full list of commands that are available by default. iykyk π
π¦ ATTRIBUTES π¦
Mojolicious::Command::Author::inflate inherits all attributes from Mojolicious::Command and implements these new ones:
πΈ description
my $description = $inflate->description;
$inflate = $inflate->description('Foo');
a short description of this command β it's what shows up in the command list. tiny blurb, big job π
πΈ usage
my $usage = $inflate->usage;
$inflate = $inflate->usage('Foo');
the usage info for this command, used for the help screen. that's the thing you see when you're like "help??" and the terminal is like "here you go, girl" π
β METHODS β
Mojolicious::Command::Author::inflate inherits all methods from Mojolicious::Command and implements this one new method:
π run
$inflate->run(@ARGV);
run this command. that's the whole thing. main character method, honestly π
π SEE ALSO π
- Mojolicious
- Mojolicious::Guides
- <https://mojolicious.org>
fr fr, that's the whole page β no secrets, no hidden flags, just inflate doing its thing π
okay byeee, this was Mojolic...:inflate(3) from perl v5.42.0, dated 2026-07-15 β mwah, slay, periodt π
β¨π
π¦ 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