Function brane_cli::registry::get_packages_endpoint

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

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