Skip to content

Commit 3c8e18a

Browse files
Improve auth logout long description wording
1 parent eedb52c commit 3c8e18a

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

cmd/auth/logout.go

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,18 @@ environment (e.g. CI/CD), omitting --profile is an error.
4747
1. If you specify --profile, the command logs out of that profile. In an
4848
interactive terminal you'll be asked to confirm unless --force is set.
4949
50-
2. If you omit --profile in an interactive terminal, a searchable picker
51-
lists all profiles from the configuration file. You can search by
52-
name, host, or account ID.
50+
2. If you omit --profile in an interactive terminal, you'll be shown
51+
an interactive picker listing all profiles from your configuration file.
52+
You can search by profile name, host, or account ID. After selecting a
53+
profile, you'll be asked to confirm unless --force is specified.
5354
54-
3. If you omit --profile in a non-interactive environment, the command
55-
fails with an error asking you to specify --profile.
55+
3. If you omit --profile in a non-interactive environment (e.g. CI/CD pipeline),
56+
the command will fail with an error asking you to specify --profile.
5657
57-
4. Use --force to skip the confirmation prompt.
58+
4. Use --force to skip the confirmation prompt. This is required when
59+
running in non-interactive environments.
5860
59-
5. Use --delete to also remove the profile section from ~/.databrickscfg.`,
61+
5. Use --delete to also remove the selected profile from ~/.databrickscfg.`,
6062
}
6163

6264
var force bool

0 commit comments

Comments
 (0)