@@ -202,6 +202,7 @@ func handleBetaMessagesBatchesCreate(ctx context.Context, cmd *cli.Command) erro
202202 return ShowJSON (obj , ShowJSONOpts {
203203 ExplicitFormat : explicitFormat ,
204204 Format : format ,
205+ RawOutput : cmd .Root ().Bool ("raw-output" ),
205206 Title : "beta:messages:batches create" ,
206207 Transform : transform ,
207208 })
@@ -250,6 +251,7 @@ func handleBetaMessagesBatchesRetrieve(ctx context.Context, cmd *cli.Command) er
250251 return ShowJSON (obj , ShowJSONOpts {
251252 ExplicitFormat : explicitFormat ,
252253 Format : format ,
254+ RawOutput : cmd .Root ().Bool ("raw-output" ),
253255 Title : "beta:messages:batches retrieve" ,
254256 Transform : transform ,
255257 })
@@ -290,6 +292,7 @@ func handleBetaMessagesBatchesList(ctx context.Context, cmd *cli.Command) error
290292 return ShowJSON (obj , ShowJSONOpts {
291293 ExplicitFormat : explicitFormat ,
292294 Format : format ,
295+ RawOutput : cmd .Root ().Bool ("raw-output" ),
293296 Title : "beta:messages:batches list" ,
294297 Transform : transform ,
295298 })
@@ -305,6 +308,7 @@ func handleBetaMessagesBatchesList(ctx context.Context, cmd *cli.Command) error
305308 return ShowJSONIterator (iter , maxItems , ShowJSONOpts {
306309 ExplicitFormat : explicitFormat ,
307310 Format : format ,
311+ RawOutput : cmd .Root ().Bool ("raw-output" ),
308312 Title : "beta:messages:batches list" ,
309313 Transform : transform ,
310314 })
@@ -354,6 +358,7 @@ func handleBetaMessagesBatchesDelete(ctx context.Context, cmd *cli.Command) erro
354358 return ShowJSON (obj , ShowJSONOpts {
355359 ExplicitFormat : explicitFormat ,
356360 Format : format ,
361+ RawOutput : cmd .Root ().Bool ("raw-output" ),
357362 Title : "beta:messages:batches delete" ,
358363 Transform : transform ,
359364 })
@@ -402,6 +407,7 @@ func handleBetaMessagesBatchesCancel(ctx context.Context, cmd *cli.Command) erro
402407 return ShowJSON (obj , ShowJSONOpts {
403408 ExplicitFormat : explicitFormat ,
404409 Format : format ,
410+ RawOutput : cmd .Root ().Bool ("raw-output" ),
405411 Title : "beta:messages:batches cancel" ,
406412 Transform : transform ,
407413 })
@@ -447,6 +453,7 @@ func handleBetaMessagesBatchesResults(ctx context.Context, cmd *cli.Command) err
447453 return ShowJSONIterator (stream , maxItems , ShowJSONOpts {
448454 ExplicitFormat : explicitFormat ,
449455 Format : format ,
456+ RawOutput : cmd .Root ().Bool ("raw-output" ),
450457 Title : "beta:messages:batches results" ,
451458 Transform : transform ,
452459 })
0 commit comments