You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently all commands print raw JSON from the dbt Cloud API. For agentic workflows this is ideal, but human users sometimes want a more readable summary. Adding an --output flag would let the caller choose.
Proposed interface
--output [json|text] Output format (default: json)
json (default): current behaviour — pretty-printed JSON body
Agents calling the CLI as a subprocess get back the full JSON today, which is correct. The --output text mode would be for human use only. The default must stay json to avoid breaking existing integrations.
Notes
DBT_CLOUD_OUTPUT env var as a fallback would be consistent with other env-var conventions in the project
Only high-value commands need a text formatter initially (job get/run, run get)
Overview
Currently all commands print raw JSON from the dbt Cloud API. For agentic workflows this is ideal, but human users sometimes want a more readable summary. Adding an
--outputflag would let the caller choose.Proposed interface
json(default): current behaviour — pretty-printed JSON bodytext: concise human-readable summary (e.g. "Job 42: Do nothing! — SUCCESS")Why this matters for agents
Agents calling the CLI as a subprocess get back the full JSON today, which is correct. The
--output textmode would be for human use only. The default must stayjsonto avoid breaking existing integrations.Notes
DBT_CLOUD_OUTPUTenv var as a fallback would be consistent with other env-var conventions in the projectRelated