diff --git a/examples/environment.yq b/examples/environment.yq new file mode 100644 index 00000000..764f5802 --- /dev/null +++ b/examples/environment.yq @@ -0,0 +1,4 @@ +.[] |( + ( select(kind == "scalar") | key + "='" + . + "'"), + ( select(kind == "seq") | key + "=(" + (map("'" + . + "'") | join(",")) + ")") +) \ No newline at end of file