Skip to main content

client

Function client 

Source
pub fn client() -> Result<(HarmontClient, ResolvedCtx)>
Expand description

An authenticated cloud client built from the layered config + stored token.

Fails fast with a clear message when no token is present.

§Errors

Returns an error if config can’t be loaded or no token is available.