From a018eaf7d070cc353a790f3cb2912103da558cb9 Mon Sep 17 00:00:00 2001 From: Daniel Widgren Date: Sun, 19 Apr 2026 12:40:38 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20simplify=20login=20for=20flat=20env=20mo?= =?UTF-8?q?del=20=E2=80=94=20tenant=20only?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/asobi/main.go | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/cmd/asobi/main.go b/cmd/asobi/main.go index d9990cf..4c82587 100644 --- a/cmd/asobi/main.go +++ b/cmd/asobi/main.go @@ -119,11 +119,10 @@ func cmdLogin() { } fmt.Println("\nLogin successful!") - fmt.Printf(" Tenant: %s\n", creds.TenantID) - fmt.Printf(" Game: %s\n", creds.GameID) - fmt.Printf(" Environment: %s\n", creds.EnvName) - fmt.Printf(" Engine: %s\n", creds.EngineURL) + fmt.Printf(" Tenant: %s\n", creds.TenantID) + fmt.Printf(" SaaS: %s\n", creds.SaasURL) fmt.Printf("\nCredentials stored in ~/.asobi/credentials.json\n") + fmt.Println("Run `asobi create ` to create an environment.") } func cmdLogout() { @@ -143,13 +142,10 @@ func cmdWhoami() { return } fmt.Printf("Logged in via %s\n", creds.SaasURL) - fmt.Printf(" Tenant: %s\n", creds.TenantID) - fmt.Printf(" Game: %s\n", creds.GameID) - fmt.Printf(" Environment: %s\n", creds.EnvName) - fmt.Printf(" Engine: %s\n", creds.EngineURL) - fmt.Printf(" Device: %s\n", creds.DeviceFingerprint) + fmt.Printf(" Tenant: %s\n", creds.TenantID) + fmt.Printf(" Device: %s\n", creds.DeviceFingerprint) if len(creds.AccessToken) > 8 { - fmt.Printf(" Token: %s...%s\n", creds.AccessToken[:4], creds.AccessToken[len(creds.AccessToken)-4:]) + fmt.Printf(" Token: %s...%s\n", creds.AccessToken[:4], creds.AccessToken[len(creds.AccessToken)-4:]) } }