Skip to content

Commit fe53ffb

Browse files
author
Florian Standhartinger
committed
Finish the user-visible rebrand: --version, --help, completions
Running the CI-built binary showed the rebrand was half done. The executable was named chutescoder, but: $ chutescoder --version codex-cli 0.0.0 $ chutescoder --help Codex CLI Usage: codex [OPTIONS] [PROMPT] 'Codex' is OpenAI's mark, and Apache-2.0 section 6 grants no trademark rights — so this is the part of the rebrand that is actually required, not cosmetic. Fixed the clap about/usage strings, the three subcommand help lines that named the upstream product, the shell-completion program name, and the package name that drives --version. The workspace dependency keeps the alias pointing at the renamed package so tui's still compiles — renaming the crate everywhere would collide with every upstream merge for no user-visible gain, which is the rule the rest of the rebrand follows.
1 parent 5a770ad commit fe53ffb

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

codex-rs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ codex-arg0 = { path = "arg0" }
164164
codex-async-utils = { path = "async-utils" }
165165
codex-backend-client = { path = "backend-client" }
166166
codex-chatgpt = { path = "chatgpt" }
167-
codex-cli = { path = "cli" }
167+
codex-cli = { package = "chutescoder-cli", path = "cli" }
168168
codex-client = { path = "codex-client" }
169169
codex-collaboration-mode-templates = { path = "collaboration-mode-templates" }
170170
codex-cloud-config = { path = "cloud-config" }

codex-rs/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "codex-cli"
2+
name = "chutescoder-cli"
33
version.workspace = true
44
edition.workspace = true
55
license.workspace = true

codex-rs/cli/src/main.rs

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ use codex_protocol::protocol::AskForApproval;
8888
use codex_protocol::user_input::UserInput;
8989
use codex_terminal_detection::TerminalName;
9090

91-
/// Codex CLI
91+
/// chutescoder
92+
///
93+
/// A coding agent that treats its own context as a variable. Fork of OpenAI
94+
/// Codex; see CHANGES-FROM-UPSTREAM.md.
9295
///
9396
/// If no subcommand is specified, options will be forwarded to the interactive CLI.
9497
#[derive(Debug, Parser)]
@@ -98,10 +101,10 @@ use codex_terminal_detection::TerminalName;
98101
// If a sub‑command is given, ignore requirements of the default args.
99102
subcommand_negates_reqs = true,
100103
// The executable is sometimes invoked via a platform‑specific name like
101-
// `codex-x86_64-unknown-linux-musl`, but the help output should always use
102-
// the generic `codex` command name that users run.
104+
// `chutescoder-x86_64-unknown-linux-musl`, but the help output should always
105+
// use the generic `chutescoder` command name that users run.
103106
bin_name = "chutescoder",
104-
override_usage = "codex [OPTIONS] [PROMPT]\n codex [OPTIONS] <COMMAND> [ARGS]"
107+
override_usage = "chutescoder [OPTIONS] [PROMPT]\n chutescoder [OPTIONS] <COMMAND> [ARGS]"
105108
)]
106109
struct MultitoolCli {
107110
/// Enable process-only PSP routing for first-party ChatGPT requests.
@@ -126,7 +129,7 @@ struct MultitoolCli {
126129

127130
#[derive(Debug, clap::Subcommand)]
128131
enum Subcommand {
129-
/// Run Codex non-interactively.
132+
/// Run chutescoder non-interactively.
130133
#[clap(visible_alias = "e")]
131134
Exec(ExecCli),
132135

@@ -139,10 +142,10 @@ enum Subcommand {
139142
/// Remove stored authentication credentials.
140143
Logout(LogoutCommand),
141144

142-
/// Manage external MCP servers for Codex.
145+
/// Manage external MCP servers for chutescoder.
143146
Mcp(McpCli),
144147

145-
/// Manage Codex plugins.
148+
/// Manage chutescoder plugins.
146149
Plugin(PluginCli),
147150

148151
/// Start Codex as an MCP server (stdio).
@@ -2630,7 +2633,7 @@ fn merge_interactive_cli_flags(interactive: &mut TuiCli, subcommand_cli: TuiCli)
26302633

26312634
fn print_completion(cmd: CompletionCommand) {
26322635
let mut app = MultitoolCli::command();
2633-
let name = "codex";
2636+
let name = "chutescoder";
26342637
generate(cmd.shell, &mut app, name, &mut std::io::stdout());
26352638
}
26362639

0 commit comments

Comments
 (0)