NAME
Slovo::Command::Author::generate::cgi_script - Generate a CGI script for running Slovo under Apache/CGI
SYNOPSIS
Usage: slovo [OPTIONS]
# Default values.
slovo generate cgi_script
# Custom values
slovo generate cgi_script -f slovo.cgi -m production
Options:
-h, --help Show this summary of available options
-f, --filename Defaults to $app->moniker.cgi
-c, --cgi_mode Defaults to current $app->mode
DESCRIPTION
Slovo::Command::Author::generate::cgi_scrip will generate a CGI script for running Slovo under Apache/CGI. Although Slovo performs best as a daemon run by hypnotoad, it can as well be used on a cheap shared hosting. When the script slovo.cgi
is run it will dump a static page which later will be loaded by apache. This way Slovo can be used as a static site generator. This is completely enough for bloggers.
ATTRIBUTES
Slovo::Command::Author::generate::cgi_script inherits all attributes from Slovo::Command and implements the following new ones.
description
my $description = $cgi_script->description;
$cpanify = $cgi_script->description('Foo');
Short description of this command, used for the command list.
usage
my $usage = $cgi_script->usage;
$cpanify = $cgi_script->usage('Foo');
Usage information for this command, used for the help screen.
METHODS
Slovo::Command::Author::generate::cgi_script inherits all methods from Slovo::Command and implements the following new ones.
run
$cgi_script->run(@ARGV);
Run this command.
SEE ALSO
Slovo,Mojolicious::Command "Adding-commands-to-Mojolicious" in Mojolicious::Guides::Cookbook, Mojolicious::Guides, https://слово.бг.