feat: add codex completion to generate shell completions (#1491)

Once this lands, we can update our brew formula to use
`generate_completions_from_executable()` like so:


905238ff7f/Formula/h/hgrep.rb (L21-L25)
This commit is contained in:
Michael Bolin
2025-07-08 21:43:27 -07:00
committed by GitHub
parent 8d35ad0ef7
commit 4a15ebc1ca
4 changed files with 43 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ workspace = true
[dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
codex-core = { path = "../core" }
codex-common = { path = "../common", features = ["cli"] }
codex-exec = { path = "../exec" }