| ▲ | 2001zhaozhao 8 hours ago | ||||||||||||||||||||||||||||||||||||||||
> Headless mode (-p) allows easily running agents inside scripts and automations. The CLI also provides full ACP support to build your own bots and agent orchestration apps. Good, they are explicitly supporting automation similar to OpenAI. | |||||||||||||||||||||||||||||||||||||||||
| ▲ | SwellJoe 7 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||
Pretty sure they all do. $ claude -h Usage: claude [options] [command] [prompt] Claude Code - starts an interactive session by default, use -p/--print for non-interactive output $ gemini -h Usage: gemini [options] [command] Gemini CLI - Defaults to interactive mode. Use -p/--prompt for non-interactive (headless) mode. $ copilot -h Usage: copilot [options] [command] GitHub Copilot CLI - An AI-powered coding assistant. Start an interactive session to chat with Copilot, or use -p/--prompt for non-interactive scripting. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| ▲ | skp1995 5 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||
yes! we wanted to make sure that the binary works in your editors or via `-p`, no point in standing guard to how you would want to use it. | |||||||||||||||||||||||||||||||||||||||||