Once this lands, we can update our brew formula to use
`generate_completions_from_executable()` like so:
905238ff7f/Formula/h/hgrep.rb (L21-L25)
38 lines
771 B
TOML
38 lines
771 B
TOML
[package]
|
|
name = "codex-cli"
|
|
version = { workspace = true }
|
|
edition = "2024"
|
|
|
|
[[bin]]
|
|
name = "codex"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
name = "codex_cli"
|
|
path = "src/lib.rs"
|
|
|
|
[lints]
|
|
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" }
|
|
codex-login = { path = "../login" }
|
|
codex-linux-sandbox = { path = "../linux-sandbox" }
|
|
codex-mcp-server = { path = "../mcp-server" }
|
|
codex-tui = { path = "../tui" }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = [
|
|
"io-std",
|
|
"macros",
|
|
"process",
|
|
"rt-multi-thread",
|
|
"signal",
|
|
] }
|
|
tracing = "0.1.41"
|
|
tracing-subscriber = "0.3.19"
|