The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mojo::Command::Daemon - Daemon Command

SYNOPSIS

    use Mojo::Command::Daemon;

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

DESCRIPTION

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

usage

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

METHODS

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

run

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