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

Local::Cluster::CLI::Server - CLI for cluster server

EXAMPLE

use Cwd;
use File::Spec;
use FindBin qw( $Bin );
use Local::Cluster::CLI::Server;

Local::Cluster::CLI::Server->main
(
    thread => 20,
    timeout => 30,
    mode => 'root',
    link => 'current',
    conf => Cwd::abs_path( File::Spec->join( $Bin, '..', 'conf' ) ),
);

SYNOPSIS

$exe --help

$exe [--conf dir] [--thread number] [--timeout seconds] [--mode 'root'] --port number | /unix/domain/socket/path

$exe [--conf dir] [--thread number] [--link name] --mode 'cache' --port number | /unix/domain/socket/path

NOTE

See Local::CLI::Cluster