Skip to main content

Module query

Module query 

Source
Expand description

The claude -p query builder.

QueryCommand is the crate’s workhorse: a builder for oneshot print-mode queries covering the full claude -p flag surface, with typed output (execute / execute_json) and, under the sync feature, blocking peers. Spawn-time flags shared with DuplexOptions live in a common internal SharedSpawnArgs, so the two builders cannot drift.

Structs§

QueryCommand
Builder for claude -p <prompt> (oneshot print-mode queries).