blob: b602e70a09294c4a4088d0c9ed1b7b4f50af9b6c [file] [log] [blame]
cue cmd dump
cmp stdout expect-stdout
-- combine.cue --
package kube
map: [string]: spec: {}
map: bartender: {}
-- combine_tool.cue --
package kube
import (
"encoding/yaml"
"tool/cli"
)
objects: [ for x in map {x}]
command: dump: {
cli.Print & {
text: yaml.MarshalStream(objects)
}
}
-- cue.mod --
-- expect-stdout --
spec: {}