Something went wrong. Try again.
Codex App without electron
Something went wrong. Try again.
123456789101112131415161718192021222324use clap::Parser;
#[derive(Debug, Parser)]struct Cli { /// Transport endpoint: `stdio`, `stdio://`, or `ws://IP:PORT`. #[arg( long, value_name = "URL", default_value = codex_code_mode_host::DEFAULT_LISTEN_URL )] listen: String,}
#[tokio::main(flavor = "current_thread")]async fn main() -> anyhow::Result<()> { tracing_subscriber::fmt() .with_max_level(tracing::Level::INFO) .with_writer(std::io::stderr) .with_ansi(false) .init();
codex_code_mode_host::run_main(&Cli::parse().listen).await}