Command-Line Tool (slmcli)

slmcli sends commands to a running SLM over CII/MAL and prints the reply. It is a self-contained tool and does not require the GUI.

Selecting the server

Provide either an explicit --uri or a registered --name (resolved via Nomad, then Consul). Common options:

Option

Meaning

--uri TEXT

service URI, e.g. zpb.rr://127.0.0.1:12091

--name TEXT

registered name if --uri is not given

--namespace TEXT

Nomad namespace

--timeout INTEGER

request timeout in milliseconds

Subcommands

  • run / stopRunSlm / StopSlm.

  • close, open, suspend, resume — take one or more loop indices.

  • status — concise State:Substate; state — full state path.

  • init, enable, disable, reset — standard commands.

Examples

slmcli --uri zpb.rr://127.0.0.1:12091 status
slmcli --uri zpb.rr://127.0.0.1:12091 run
slmcli --uri zpb.rr://127.0.0.1:12091 close 1 2
slmcli --uri zpb.rr://127.0.0.1:12091 open 1
slmcli --name slm-req stop

slmcli --help and slmcli <subcommand> --help describe the options; help works without a running server.