mirror of https://github.com/mikefarah/yq.git
Added sample yq script
This commit is contained in:
parent
dd64899434
commit
eff7d99e2b
|
@ -0,0 +1,4 @@
|
|||
.[] |(
|
||||
( select(kind == "scalar") | key + "='" + . + "'"),
|
||||
( select(kind == "seq") | key + "=(" + (map("'" + . + "'") | join(",")) + ")")
|
||||
)
|
Loading…
Reference in New Issue