Function brane_cli::registry::get_graphql_endpoint

source ·
pub fn get_graphql_endpoint() -> Result<String, RegistryError>
Expand description

Get the GraphQL endpoint of the Brane API.

§Returns

The endpoint (as a String).

§Errors

This function may error if we could not find, read or parse the config file with the login data. If not found, this likely indicates the user hasn’t logged-in yet.