feat(auth): Make bare sentry auth run login - #1380
Conversation
Default the auth route to login so `sentry auth` matches `sentry auth login`, and point installer/onboarding copy at the shorter command. Co-Authored-By: David Cramer <david@sentry.io>
|
Jared, would be ideal if |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2d54da3. Configure here.
Bare `sentry auth` now logs in when logged out and shows status when already authenticated. Login-only flags still force the login path. Co-Authored-By: David Cramer <david@sentry.io>
Pad the shorter `sentry auth` line so descriptions line up with `sentry --help` in the post-install Get started output. Co-Authored-By: David Cramer <david@sentry.io>
Group associateCodeBlocks doc-context params into an options object to clear useMaxParams, and reflow the test array to biome's formatting.
|
@BYK this is done — bare Also fixed the misaligned installer welcome columns cursor flagged, and cleared a couple of biome lint failures the dispatcher work introduced (useMaxParams on |
Dispatch into unwrapped login/status generators via __rawFunc so auth guards, rc-URL trust checks, telemetry, and output rendering run once under the bare-auth command settings.

Make
sentry auththe same assentry auth login, and teach onboarding/installer copy to recommend the shorter form.Default command
The auth route default is now
logininstead ofstatus, so baresentry authstarts the login flow.sentry auth loginstill works.Onboarding copy
Curl installer welcome text, help example, README/quick start, getting-started docs, and skill docs now say
sentry auth.Skill example matching
Bare group examples like
sentry authare associated with the route's default subcommand so generated skill references keep login examples.Checks:
vitestfor setup/help/command-suggestions/skill-markdown (78 passed). Manually verifiedsentry authstarts login.Requested by David Cramer.
--
View Junior Session [Sentry]