Function brane_cli::registry::get_data_endpoint

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

Get the data 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.