Skip to content

Command reference

--print

Prints the answer and exits, without the interactive session.

FlagsWork and taskscurrent

What the documentation does not say

Every other scripting flag hangs off this one: output formats, turn and budget limits, structured output, and the streaming events are all limited to print mode. It also reads piped input, so a log file goes straight into the question.

Also known as
-p