Mojo::Commands - Commands
use Mojo::Commands; my $commands = Mojo::Commands->new; $commands->run(@ARGV);
Mojo::Commands is the interactive command interface to the Mojo framework.
Mojo::Commands inherits all attributes from Mojo::Command and implements the following new ones.
message
my $message = $commands->message; $commands = $commands->message('Hello World!');
namespaces
my $namespaces = $commands->namespaces; $commands = $commands->namespaces(['Mojo::Command']);
Mojo::Commands inherits all methods from Mojo::Command and implements the following new ones.
run
$commands = $commands->run; $commands = $commands->run(@ARGV);
start
Mojo::Commands->start; Mojo::Commands->start(@ARGV);
Mojolicious, Mojolicious::Book, http://mojolicious.org.
To install Mojolicious, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious
CPAN shell
perl -MCPAN -e shell install Mojolicious
For more information on module installation, please visit the detailed CPAN module installation guide.