Simplify auth login help text, document query parameter support#4906
Merged
simonfaltum merged 1 commit intomainfrom Apr 7, 2026
Merged
Simplify auth login help text, document query parameter support#4906simonfaltum merged 1 commit intomainfrom
simonfaltum merged 1 commit intomainfrom
Conversation
Co-authored-by: Isaac
Suggested reviewersBased on git history of the changed files, these people are best suited to review:
Confidence: low Eligible reviewersBased on CODEOWNERS, these people or teams could also review: @andrewnester, @anton-107, @denik, @shreyas-goenka Suggestions based on git history of 1 changed files (1 scored). See CODEOWNERS for path-specific ownership rules. |
mihaimitrea-db
approved these changes
Apr 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The
auth loginhelp text was verbose and redundant. Four numbered scenarios all described the same core behavior (profile is created or updated) with minor variations, and each repeated the "databricks-cli" auth type implementation detail. The help text also didn't mention URL query parameter support (?o=,?account_id=).Changes
Before: ~40 lines of help text with four near-identical scenarios explaining profile update behavior, specific SDK names that will go stale, and no mention of query parameter support.
Now: ~20 lines. Drops the redundant scenarios in favor of one sentence ("If a profile with the given name already exists, it is updated. Otherwise a new profile is created."). Adds documentation for URL query parameters (
?o=<workspace_id>&account_id=<id>) with a shell quoting note. Replaces specific SDK list with generic "SDKs".Test plan
make checkspassesdatabricks auth login --helpshows updated text