Mojo::Command::Daemon(3pm)

Mojo::Command::Daemon3pm

Daemon command

Usage

    use Mojo::Command::Daemon;
    my $daemon = Mojo::Command::Daemon->new;
    $daemon->run(@ARGV);

Overview

Mojo::Command::Daemon is a command interface to Mojo::Server::Daemon.

Attributes

Mojo::Command::Daemon inherits all attributes from Mojo::Command and implements the following new ones.

"description"

    my $description = $daemon->description;
    $daemon         = $daemon->description('Foo!');

Short description of this command, used for the command list.

"usage"

    my $usage = $daemon->usage;
    $daemon   = $daemon->usage('Foo!');

Usage information for this command, used for the help screen.

Methods

Mojo::Command::Daemon inherits all methods from Mojo::Command and implements the following new ones.

"run"

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

Run this command.

From libmojolicious-perl 0.999926-1+squeeze2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.