blob: 03be9c8f5d5095f5c6172f7523572be3d26d712b [file] [log] [blame]
cue cmd echo
stdout 'Hello World!'
-- data.cue --
package hello
_who: "World"
-- hello.cue --
package hello
message: "Hello \(_who)!" // who declared in data.cue
-- hello_tool.cue --
package hello
command: echo: {
echo: {
kind: "exec"
cmd: "echo \(message)"
stdout: string
}
task: display: {
kind: "print"
text: echo.stdout
}
}
-- cue.mod --