blob: 7e817f827df634aa92464b3494c9dba5118deadf [file] [log] [blame]
cue cmd foo
cmp stdout cue_cmd_foo_both.golden
-- cue.mod/module.cue --
module: "example.org/test"
-- sub/sub.cue --
package sub
User: "sub"
-- x_tool.cue --
package x
import (
"tool/cli"
"example.org/test/sub"
)
command: foo: cli.Print & {
text: "test \(sub.User)"
}
-- cue_eval.golden --
x: "sub"
-- cue_cmd_foo_both.golden --
test sub