NAME

Mojo::Commands - Commands

SYNOPSIS

use Mojo::Commands;

my $commands = Mojo::Commands->new;
$commands->run(@ARGV);

DESCRIPTION

Mojo::Commands is the interactive command interface to the Mojo framework.

ATTRIBUTES

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']);

METHODS

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);

SEE ALSO

Mojolicious, Mojolicious::Book, http://mojolicious.org.