From 891ebb755a29948fe382a4c133c7e2bd5304d04d Mon Sep 17 00:00:00 2001 From: betegon Date: Fri, 13 Feb 2026 14:12:59 +0100 Subject: [PATCH] fix(setup): use correct auth command in install welcome message The post-install message showed "sentry login" but the actual command is "sentry auth login". Closes #239 --- src/commands/cli/setup.ts | 2 +- test/commands/cli/setup.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/cli/setup.ts b/src/commands/cli/setup.ts index 0d52a4d432..e81d5b461a 100644 --- a/src/commands/cli/setup.ts +++ b/src/commands/cli/setup.ts @@ -171,7 +171,7 @@ function printWelcomeMessage( log(`Installed sentry v${version} to ${binaryPath}`); log(""); log("Get started:"); - log(" sentry login Authenticate with Sentry"); + log(" sentry auth login Authenticate with Sentry"); log(" sentry --help See all available commands"); log(""); log("https://cli.sentry.dev"); diff --git a/test/commands/cli/setup.test.ts b/test/commands/cli/setup.test.ts index 98d2ca500f..2163d0dc41 100644 --- a/test/commands/cli/setup.test.ts +++ b/test/commands/cli/setup.test.ts @@ -378,7 +378,7 @@ describe("sentry cli setup", () => { // Should show welcome message, not "Setup complete!" expect(combined).toContain("Installed sentry v"); expect(combined).toContain("Get started:"); - expect(combined).toContain("sentry login"); + expect(combined).toContain("sentry auth login"); expect(combined).toContain("sentry --help"); expect(combined).toContain("cli.sentry.dev"); expect(combined).not.toContain("Setup complete!");