[DOCS] Undocumented `/logout` command referenced in Bedrock/Vertex and Troubleshooting guides
Documentation Type
Missing documentation (feature not documented)
Documentation Location
- https://code.claude.com/docs/en/interactive-mode#built-in-commands - https://code.claude.com/docs/en/amazon-bedrock#3-configure-claude-code - https://code.claude.com/docs/en/troubleshooting#authentication-issues
Section/Topic
The "Built-in commands" table in the Interactive mode documentation.
Current Documentation
The Interactive mode command table lists commands from /clear to /usage, but completely skips /logout.
However, the Amazon Bedrock documentation states:
"When using Bedrock, the/loginand/logoutcommands are disabled since authentication is handled through AWS credentials."
And the Troubleshooting documentation explicitly instructs users to:
"1. Run /logout to sign out completely"
What's Wrong or Missing?
The /logout command is referenced as a critical step for troubleshooting authentication issues and is explicitly mentioned in the Bedrock and Vertex AI setup guides as a command that gets disabled. However, it is missing from the official "Built-in commands" reference table in interactive-mode.
This creates confusion as users are told to run a command that is not documented in the primary reference list.
Suggested Improvement
Add /logout (and likely /login) to the "Built-in commands" table in docs/en/interactive-mode.md.
Suggested entry:
| Command | Purpose |
| :--- | :--- |
| /logout | Sign out of the current account and remove stored credentials. |
Impact
High - Prevents users from using a feature
Additional Context
The /login command is also referenced in the Quickstart guide (/login) and the Bedrock warnings, but is similarly missing from the Interactive Mode command table. Both should likely be added for consistency.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗