NAME

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

EXAMPLE

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

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