The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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