in Sources/HubCLI/HubCLI.swift [80:91]
func run() async throws {
let hubApi = HubApi(hfToken: hfToken)
let userInfo = try await hubApi.whoami()
if let name = userInfo["name"].string(),
let fullname = userInfo["fullname"].string(),
let email = userInfo["email"].string()
{
print("\(name) (\(fullname) <\(email)>)")
} else {
print("Cannot retrieve user info")
}
}