core-agent-ide/codex-rs/cli
Ahmed Ibrahim 2d52e3b40a
Fix codex resume so flags (cd, model, search, etc.) still work (#3625)
Bug: now we can add flags/config values only before resume. 

`codex -m gpt-5 resume` works

However, `codex resume -m gpt-5` should also work.

This PR is following this
[approach](https://stackoverflow.com/questions/76408952/rust-clap-re-use-same-arguments-in-different-subcommand)
in doing so.

I didn't convert those flags to global because we have `codex login`
that shouldn't expect them.
2025-09-15 06:16:17 +00:00
..
src Fix codex resume so flags (cd, model, search, etc.) still work (#3625) 2025-09-15 06:16:17 +00:00
tests initial mcp add interface (#3543) 2025-09-15 04:30:56 +00:00
Cargo.toml initial mcp add interface (#3543) 2025-09-15 04:30:56 +00:00