blob: eb5901e072f0cd73ffa592bf3eb0583e9cce1136 [file] [log] [blame]
cue export -l "\(strings.ToLower(kind))" --list import/services.jsonl
cmp stdout expect-stdout
-- expect-stdout --
{
"service": [
{
"kind": "Service",
"name": "booster"
},
{
"kind": "Service",
"name": "supplement\nfoo",
"json": "[1, 2]"
}
],
"deployment": [
{
"kind": "Deployment",
"name": "booster",
"replicas": 1
}
]
}
-- import/services.jsonl --
{
"kind": "Service",
"name": "booster"
}
{
"kind": "Deployment",
"name": "booster",
"replicas": 1
}
{
"kind": "Service",
"name": "supplement\nfoo",
"json": "[1, 2]"
}
-- cue.mod --