Skip to main content

Module command

Module command 

Source
Expand description

Command builders for every Codex CLI subcommand.

Each subcommand is a builder struct that implements CodexCommand. Builders accumulate flags via method chaining, then call CodexCommand::execute with a Codex client to run.

Modules§

apply
completion
doctor
Diagnose the local Codex installation (codex doctor).
exec
features
fork
login
mcp
mcp_server
plugin
Manage Codex plugins (codex plugin).
raw
resume
review
sandbox
Run commands within a Codex-provided sandbox (codex sandbox).
session_mgmt
Session-lifecycle commands: archive, delete, and unarchive a saved session.
update
Update Codex to the latest version (codex update).
version

Traits§

CodexCommand
Trait implemented by all Codex CLI command builders.