pub fn resolve_client(project_root: &Path) -> Result<ApiClient, Box<dyn Error>>Expand description
Resolve project_root’s credentials (via resolve_credentials) into a
ready ApiClient, or the standard “no server URL configured” error when
none of the credential sources yield a server URL. Shared by every
command that needs a client from a project root, so this
resolve-then-construct shape has exactly one implementation.