Usage
--wait, this returns the current status, which can still be QUEUED
or RUNNING. With --wait, the CLI polls for a terminal status for up to
--wait-timeout seconds (a positive integer; default 300). A wait timeout
exits 1 and does not stop the Run; you can repeat the same command to wait again.
FAILED and STOPPED Runs exit 1. A COMPLETED Run exits 0, even if the
Provider returned HTTP 4xx or 5xx. Check provider_response.http_status and
charge_usd as well as status.
Flags
See CLI conventions for global flags, JSON mode, exit codes, and environment variables.