mirror of
https://github.com/openai/codex.git
synced 2026-11-07 20:30:33 +00:00
17 lines
426 B
Rust
17 lines
426 B
Rust
use codex_arg0::Arg0DispatchPaths;
|
|
use codex_arg0::arg0_dispatch_or_else;
|
|
use codex_mcp_server::run_main;
|
|
use codex_utils_cli::CliConfigOverrides;
|
|
|
|
fn main() -> anyhow::Result<()> {
|
|
arg0_dispatch_or_else(|arg0_paths: Arg0DispatchPaths| async move {
|
|
run_main(
|
|
arg0_paths,
|
|
CliConfigOverrides::default(),
|
|
/*strict_config*/ false,
|
|
)
|
|
.await?;
|
|
Ok(())
|
|
})
|
|
}
|