Skip to main content

Module client

Module client 

Source
Expand description

HTTP client wrapping reqwest for cellos-server.

Per Feynman (CHATROOM Session 16): “cellctl is a thin client over cellos-server. Every command = exactly one API call.” This module is that contract.

All state queries hit the projector via HTTP. There is no client-side cache.

Structs§

CellosClient

Functions§

formation_path
Build the right /v1/formations/... path for a user-supplied identifier. CTL-002 (E2E report): the server’s /v1/formations/{id} route uses Path<Uuid> and rejects names with HTTP 400. We detect the shape locally and route to the parallel /v1/formations/by-name/{name} route when the input is not a UUID.