When using composable schema command to build a schema and write it in a CICD pipeline I can't chain two commands together like this:
zed schema compile root.zed | zed schema write
{"level":"error","error":"must provide stdout or output file path","time":"2025-12-29T13:01:06+01:00","message":"terminated with errors"}
1:01PM ERR terminated with errors error="attempted to write empty schema"
As a workaround I can redirect the output to a file and run a new command to write the schema, but ideally the default zed schema compile which outputs to stdout would be usable via a pipe like shown.
Perhaps if there was a way to specify --stdout in the compile command it would work? Currently it seems zed is expecting a filename with (--out flag) or the end of the command.