Skip to main content

hub_config

Function hub_config 

Source
pub fn hub_config(flag_hub: Option<&str>, dir: &Path) -> LinkResult<HubConfig>
Expand description

Resolve the client configuration: flag_hub beats HUB_URL_ENV beats the hub = line in <dir>/.dbmd/config; no fallback default exists. The credential comes from HUB_KEY_ENV alone and is validated as a clean header token (never echoed on failure).