If --out is omitted and the format is textual (json/dot/svg/html), the
text is written to stdout via log.
If --out is omitted and the format is binary (png/jpeg), a default
filename is generated via defaultBinaryOutPath and the bytes are
written there. The previous "binary requires --out" error is gone.
Execute the
rendersubcommand.Output destination:
--outis set, the bytes are written there.--outis omitted and the format is textual (json/dot/svg/html), the text is written to stdout vialog.--outis omitted and the format is binary (png/jpeg), a default filename is generated via defaultBinaryOutPath and the bytes are written there. The previous "binary requires --out" error is gone.