//! Cloud client library for the hm CLI.
//!
//! Implements `hm cloud {login,logout,whoami,org,pipeline,build,job,billing,run}`.
/// Run the interactive browser-loopback login flow.
///
/// Designed for embedding in host commands (e.g. `hm init`) that need
/// the user to authenticate before proceeding.
///
/// # Errors
///
/// Returns an error if the browser cannot be opened, the login times
/// out, or the token cannot be persisted.
pub async