NAME
Slovo::Command::Author::inflate - Inflate embedded files to domains or application folders
SYNOPSIS
Usage: bin/slovo inflate [OPTIONS]
bin/slovo inflate # Same as `mojo inflate`!
bin/slovo inflate --class Slovo::Themes::Malka -t \
--path domove/localhost/templates/themes/malka
bin/slovo inflate --class Slovo::Themes::Malka -p \
--path domove/localhost/public
Options:
-h, --help Show this summary of available options
--path <path> Path where the files will be inflated.
Defaults to the value of MOJO_HOME or auto-detection.
--class <Class::Name> From which class only to inflate files. Can be
repeated several time for several different classes or
passed as a comma-separated string.
No class by default.
--public|p <bool> Should the static files be inflated? No, by default.
--templates|t <bool> Should the templates be inflated? No, by default.
If no options are provided, the command behaves like `mojo inflate`.
DESCRIPTION
Slovo::Command::Author::inflate turns templates and static files embedded in the __DATA__
sections of your application into real files. It is an extended version of Mojolicious::Command::Author::inflate.
ATTRIBUTES
Slovo::Command::Author::inflate inherits all attributes from Mojolicious::Command::Author::inflate and implements the following.
description
my $description = $inflate->description;
$inflate = $inflate->description('Foo');
Short description of this command, used for the command list.
METHODS
Slovo::Command::Author::inflate inherits all methods from Mojolicious::Command::Author::inflate and implements the following new ones.
run
$inflate->run(@ARGV);
Run this command.
SEE ALSO
Mojolicious::Command::Author::inflate "WELL-STRUCTURED-APPLICATION" in Mojolicious::Guides::Growing, "Bundling assets with plugins" in Mojolicious::Guides::Rendering, Mojolicious::Renderer, Slovo, Mojolicious::Guides, https://mojolicious.org.