使用
在脚本和 CI 里用 codex exec,以及日常使用 Codex 的几个基本方式。
- 非交互模式:用
codex exec在脚本和 CI 里运行,输出 JSONL 或结构化结果 - GitHub Action 与 SDK:在 GitHub Actions 里运行 Codex,或用 SDK 编程控制
- Windows 与 WSL:在 Windows 上的两种运行方式
在脚本和 CI 里用 codex exec,以及日常使用 Codex 的几个基本方式。
codex exec 在脚本和 CI 里运行,输出 JSONL 或结构化结果