Skip to content

CLI parameters

Vladimir Stepanenko edited this page Jun 25, 2021 · 2 revisions

Command line parameters for bobd

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -c, --cluster <cluster>       cluster config file
    -p, --port <http_api_port>    http api port [default: 8000]
    -a, --name <name>             node name
    -n, --node <node>             node config file
    -t, --threads <threads>       count threads [default: 4]

--cluster accepts path to cluster config.

--node accepts path to node config.

Example

bobd -c cluster.yaml -n node1.yaml -t 8 -p 8001

This command run bob with cluster configuration from cluster.yaml and node configuration from node.yaml. Rest API will be served on port 8001. Bob will use 8 system threads.

Clone this wiki locally