mirror of
https://github.com/google/go-jsonnet.git
synced 2026-05-04 11:41:03 +02:00
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.
14 lines
133 B
Jsonnet
14 lines
133 B
Jsonnet
{
|
|
"foo.json": {
|
|
baz: 3,
|
|
baq: "27",
|
|
},
|
|
"bar.json": {
|
|
foo: {
|
|
bar: {
|
|
baz: "yes",
|
|
},
|
|
},
|
|
},
|
|
}
|