rugged echo

Command help text

$ rugged echo --help

Usage: rugged echo [OPTIONS]

  Ping a worker, by sending an echo task on the queue.

Options:
  -m, --message TEXT              The message to send to the worker.
  --worker TEXT                   The specific worker to ping. Can be passed
                                  multiple times.
  -t, --timeout INTEGER           The time to wait for a task to complete (in
                                  seconds).
  --broker-connection-string TEXT
                                  The string used to connect to the broker.
  --help                          Show this message and exit.

Command example output

$ rugged echo "--worker=test-worker"

Sending test-worker Ping!...
Done. Response was: test-worker PONG: Ping!
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Rugged TUF Server is a trademark of Consensus Enterprises.