1 2 3 4 5 6 7 8 9 10 11
//! `hcli whoami` command. use crate::auth::AuthService; use crate::error::Result; pub async fn run() -> Result<()> { let mut auth = AuthService::global(); auth.init(None); auth.show_login_info(); Ok(()) }