Eric Traut and GitHub
b985768dc1
Add codex update command ( #19933 )
...
## Why
Addresses #9274
Running `codex update` currently starts an interactive Codex session
with `update` as the prompt. That is a rough edge for users who expect a
direct self-update command after seeing the existing update notice, and
it forces them to copy the suggested package-manager command manually.
## What changed
- Added a top-level `codex update` subcommand.
- Reused the existing install-channel detection and update command
runner that the TUI already uses for update prompts.
- Exposed the update-action lookup from `codex-tui` so the CLI can
invoke the same behavior.
- Added CLI coverage to ensure `codex update` is parsed as a subcommand
instead of becoming an interactive prompt.
## Verification
- `cargo test -p codex-cli`
- `cargo test -p codex-tui update_action::tests`
2026-04-27 23:33:59 -07:00
..
2026-04-28 05:49:58 +00:00
2026-03-28 11:23:07 -06:00
2026-04-27 15:27:11 -07:00
2026-04-27 22:06:47 -07:00
2026-04-09 11:01:30 -07:00
2026-04-17 14:45:47 +00:00
2026-04-21 17:10:36 +00:00
2026-04-27 11:00:27 -07:00
2026-04-07 08:03:35 -07:00
2026-04-25 22:00:32 -03:00
2026-04-27 13:40:46 -07:00
2026-04-26 20:59:58 -07:00
2026-04-25 22:00:32 -03:00
2026-04-25 22:00:32 -03:00
2026-03-28 11:23:07 -06:00
2026-04-27 09:51:12 -07:00
2026-04-23 11:54:17 -07:00
2026-04-01 13:03:59 -07:00
2026-04-27 03:43:53 +00:00
2026-04-27 10:07:15 -07:00
2026-04-28 05:49:58 +00:00
2026-04-26 20:31:23 -07:00
2026-04-13 18:27:00 -07:00
2026-04-10 20:25:31 -07:00
2026-04-27 03:43:53 +00:00
2026-04-27 22:06:47 -07:00
2026-04-20 16:12:17 -07:00
2026-04-09 18:10:38 -03:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-04-25 22:00:32 -03:00
2026-04-25 22:00:32 -03:00
2026-04-26 21:49:30 -07:00
2026-04-14 14:26:10 -07:00
2026-03-28 11:23:07 -06:00
2026-04-17 17:58:32 -07:00
2026-04-25 22:00:32 -03:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-04-24 21:16:45 -07:00
2026-04-27 22:06:47 -07:00
2026-04-25 22:00:32 -03:00
2026-03-28 11:23:07 -06:00
2026-04-27 23:33:59 -07:00
2026-03-28 11:23:07 -06:00
2026-04-13 18:27:00 -07:00
2026-04-21 22:33:24 -07:00
2026-04-20 10:48:27 -07:00
2026-04-27 13:40:46 -07:00
2026-04-27 13:40:46 -07:00
2026-04-25 22:00:32 -03:00
2026-03-28 11:23:07 -06:00
2026-04-19 22:39:53 -07:00
2026-04-03 00:33:34 -07:00
2026-04-25 22:00:32 -03:00
2026-03-28 11:23:07 -06:00
2026-04-25 17:09:29 -07:00
2026-04-10 20:25:31 -07:00
2026-04-25 22:00:32 -03:00
2026-04-25 22:00:32 -03:00
2026-04-25 22:00:32 -03:00
2026-03-28 11:23:07 -06:00
2026-04-10 20:25:31 -07:00
2026-03-28 11:23:07 -06:00
2026-04-20 20:46:55 -07:00
2026-04-27 20:57:20 -07:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-04-13 18:27:00 -07:00
2026-04-17 08:39:37 -07:00
2026-03-28 11:23:07 -06:00
2026-04-13 10:26:51 -07:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-04-20 00:37:40 +00:00
2026-04-25 22:00:32 -03:00
2026-04-25 22:00:32 -03:00
2026-03-28 11:23:07 -06:00
2026-04-27 23:33:59 -07:00
2026-04-25 22:00:32 -03:00
2026-04-25 17:09:29 -07:00
2026-04-25 17:09:29 -07:00
2026-03-28 11:23:07 -06:00
2026-04-10 20:25:31 -07:00
2026-04-25 22:00:32 -03:00
2026-03-28 11:23:07 -06:00