Skip to main content

Module client

Module client 

Source
Expand description

Thin GraphQL client. Uses reqwest::blocking so the CLI stays synchronous end-to-end — no tokio runtime, no async noise in the subcommand modules.

Client::execute posts to <host>/graphql with optional bearer auth. Errors in the response’s errors array surface as a single flat error string; the caller doesn’t have to know GraphQL’s structured-error shape.

Structs§

Client

Functions§

authenticated
Load the config and build an authenticated client. Common helper for every authenticated subcommand.