Commit a072b6c
Unhide auth logout and add traceability comments (#4719)
## Changes
- Add a traceability comment block at the top of `cmd/auth/logout.go`
linking to the three original PRs (#4613, #4616, #4647). These PRs were
inadvertently squashed into a single commit `cb3c326` titled after #4647
only.
- The comment reflects the `--force` → `--auto-approve` rename from
#4755.
- Add a `NEXT_CHANGELOG.md` entry for `auth logout` under the CLI
section.
- Remove `Hidden: true` from the logout command so it appears in
`databricks auth -h` and tab completion.
- Improve the command's long description to:
- Document that token cleanup only applies to profiles created by
`databricks auth login`
- Note that logging out of one profile does not affect others sharing
the same cached token
- Condense the numbered items (drop the redundant `--auto-approve` item
since it's already mentioned in items 1 and 2; fold `--delete` into a
single item)
## Why
The `auth logout` feature was implemented across three stacked PRs
(#4613, #4616, #4647) that were squashed into one commit on merge. The
commit title only references the last PR ("Extract shared SelectProfile
helper"), so `auth logout` itself has no changelog entry and no
git-blame traceability.
This followup restores that context, unhides the command for users, and
adds the missing changelog entry.
## Tests
No functional changes; existing unit and acceptance tests for `auth
logout` continue to pass.
---------
Co-authored-by: simon <simon.faltum@databricks.com>1 parent c0801d4 commit a072b6c
2 files changed
Lines changed: 27 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
1 | 16 | | |
2 | 17 | | |
3 | 18 | | |
| |||
29 | 44 | | |
30 | 45 | | |
31 | 46 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
36 | 50 | | |
37 | 51 | | |
38 | 52 | | |
39 | 53 | | |
40 | 54 | | |
41 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
42 | 61 | | |
43 | 62 | | |
44 | 63 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 64 | | |
51 | 65 | | |
52 | 66 | | |
| |||
60 | 74 | | |
61 | 75 | | |
62 | 76 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 77 | + | |
| 78 | + | |
67 | 79 | | |
68 | 80 | | |
69 | 81 | | |
| |||
0 commit comments