go-jsonnet/testdata/multi_string_output.jsonnet
John Bartholomew 0d99c17d4b feat: add flag --no-trailing-newline to prevent adding the trailing newline on outputs
For https://github.com/google/go-jsonnet/issues/518 to allow users to
keep current behaviour for --string --multi, which on go-jsonnet emitted
output without adding an extra newline.

--no-trailing-newline works with all modes except --yaml-stream.
To avoid confusion, the CLI explicitly rejects the combination of both
flags used together.
2026-02-02 23:55:26 +00:00

7 lines
68 B
Jsonnet

{
"foo.txt": |||-
foo.
|||,
"bar.txt": "bar",
}