From c11696f6b12b65cc240d426b996a48b5f48dd95a Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Fri, 5 Sep 2025 13:12:46 -0700 Subject: [PATCH] hide resume until it's complete (#3218) Hide resume functionality until it's fully done. --- codex-rs/tui/src/cli.rs | 10 ++++++++-- docs/getting-started.md | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/codex-rs/tui/src/cli.rs b/codex-rs/tui/src/cli.rs index f419274a..cb5f8ac7 100644 --- a/codex-rs/tui/src/cli.rs +++ b/codex-rs/tui/src/cli.rs @@ -20,7 +20,12 @@ pub struct Cli { /// - Mutually exclusive with `--continue`. /// - The picker displays recent sessions and a preview of the first real user /// message to help you select the right one. - #[arg(long = "resume", default_value_t = false, conflicts_with = "continue")] + #[arg( + long = "resume", + default_value_t = false, + conflicts_with = "continue", + hide = true + )] pub resume: bool, /// Continue the most recent conversation without showing the picker. @@ -33,7 +38,8 @@ pub struct Cli { id = "continue", long = "continue", default_value_t = false, - conflicts_with = "resume" + conflicts_with = "resume", + hide = true )] pub r#continue: bool, diff --git a/docs/getting-started.md b/docs/getting-started.md index cb9fc736..3f7473fd 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -10,6 +10,7 @@ Key flags: `--model/-m`, `--ask-for-approval/-a`. + ### Running with a prompt as input