mirror of
https://github.com/openai/codex.git
synced 2026-11-22 23:00:42 +00:00
16 lines
418 B
Rust
16 lines
418 B
Rust
use codex_app_server::run_main;
|
|
use codex_arg0::arg0_dispatch_or_else;
|
|
use codex_common::CliConfigOverrides;
|
|
|
|
fn main() -> anyhow::Result<()> {
|
|
arg0_dispatch_or_else(|codex_linux_sandbox_exe| async move {
|
|
run_main(
|
|
codex_linux_sandbox_exe,
|
|
CliConfigOverrides::default(),
|
|
codex_core::config::ConfigOverrides::default(),
|
|
)
|
|
.await?;
|
|
Ok(())
|
|
})
|
|
}
|