blob: 9456ffec0fb589084c118ea8d1c6691de62c4656 [file] [log] [blame]
cue export ./hello
cmp stdout expect-stdout
-- expect-stdout --
{
"$type": "demo",
"message": "Hello World!"
}
-- hello/data.cue --
package hello
#who: "World"
-- hello/hello.cue --
package hello
$type: "demo"
message: "Hello \(#who)!" // who declared in data.cue
-- hello/cue.mod --