Mojolicious::Command::static - Quickly serve static files
Usage: APPLICATION static [OPTIONS] dir1 dir2 ... file1 file2 ... ./myapp.pl static Options: -h, --help Show this summary of available options
Mojolicious::Command::static quickly serves static files
Serves files from the current directory as well as those specified on the command line. Numeric shortcuts (e.g. /1, /2, etc) are created for files that are specified on the command line.
Mojolicious::Command::static inherits all attributes from Mojolicious::Command and implements the following new ones.
my $description = $static->description; $static = $static->description('Foo');
Short description of this command, used for the command list.
my $usage = $static->usage; $routes = $static->usage('Foo');
Usage information for this command, used for the help screen.
Mojolicious::Command::static inherits all methods from Mojolicious::Command and implements the following new ones.
$static->run(@ARGV);
Run this command.
Mojolicious, Mojolicious::Guides, http://mojolicio.us.
To install Mojolicious::Command::static, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Command::static
CPAN shell
perl -MCPAN -e shell install Mojolicious::Command::static
For more information on module installation, please visit the detailed CPAN module installation guide.