NAME

Mojo::Scripts - Scripts

SYNOPSIS

use Mojo::Scripts;

my $scripts = Mojo::Scripts->new;
$scripts->run(@ARGV);

DESCRIPTION

Mojo::Scripts is the interactive script interface to the Mojo framework.

ATTRIBUTES

Mojo::Scripts inherits all attributes from Mojo::Script and implements the following new ones.

message

my $message = $scripts->message;
my $scripts = $scripts->message('Hello World!');

namespaces

my $namespaces = $scripts->namespaces;
my $scripts    = $scripts->namespaces(['Mojo::Script']);

METHODS

Mojo::Scripts inherits all methods from Mojo::Script and implements the following new ones.

run

$scripts = $scripts->run;
$scripts = $scripts->run(@ARGV);

start

Mojo::Scripts->start;
Mojo::Scripts->start(@ARGV);