core-agent-ide/codex-rs/cli/src
Gabriel Peal 6d19b73edf
Add logout command to CLI and TUI (#1932)
## Summary
- support `codex logout` via new subcommand and helper that removes the
stored `auth.json`
- expose a `logout` function in `codex-login` and test it
- add `/logout` slash command in the TUI; command list is filtered when
not logged in and the handler deletes `auth.json` then exits

## Testing
- `just fix` *(fails: failed to get `diffy` from crates.io)*
- `cargo test --all-features` *(fails: failed to get `diffy` from
crates.io)*

------
https://chatgpt.com/codex/tasks/task_i_68945c3facac832ca83d48499716fb51
2025-08-07 04:17:33 -04:00
..
debug_sandbox.rs chore: refactor exec.rs: create separate seatbelt.rs and spawn.rs files (#1762) 2025-07-31 13:11:47 -07:00
exit_status.rs feat: experimental env var: CODEX_SANDBOX_NETWORK_DISABLED (#879) 2025-05-09 18:29:34 -07:00
lib.rs feat: redesign sandbox config (#1373) 2025-06-24 16:59:47 -07:00
login.rs Add logout command to CLI and TUI (#1932) 2025-08-07 04:17:33 -04:00
main.rs Add logout command to CLI and TUI (#1932) 2025-08-07 04:17:33 -04:00
proto.rs Add codex login --api-key (#1759) 2025-07-31 17:48:49 +00:00