Add login status command (#1716)

Print the current login mode, sanitized key and return an appropriate
status.
This commit is contained in:
pakrym-oai
2025-07-30 14:09:26 -07:00
committed by GitHub
parent e0e245cc1c
commit 301ec72107
3 changed files with 102 additions and 18 deletions

View File

@@ -95,6 +95,12 @@ codex login
If you complete the process successfully, you should have a `~/.codex/auth.json` file that contains the credentials that Codex will use.
To verify whether you are currently logged in, run:
```
codex login status
```
If you encounter problems with the login flow, please comment on <https://github.com/openai/codex/issues/1243>.
<details>