NAME

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

EXAMPLE

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

DynGig::CLI::Cluster::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 DynGig::Range::CLI