blob: 8aa8eb272ee46e12efeda0e308a4fb7a642ae1a5 [file] [log] [blame]
cue cmd ref
cmp stdout expect-stdout
-- expect-stdout --
hello
-- task_tool.cue --
package home
import (
"tool/cli"
"tool/exec"
)
command: ref: {
t1: exec.Run & {
ref: t1.stdout
cmd: ["sh", "-c", "echo hello"]
stdout: string
}
t2: cli.Print & {
text: t1.stdout
}
}
-- task.cue --
package home
-- cue.mod --