cuelang / cue

CUE has moved to https://github.com/cue-lang/cue
https://cuelang.org
Apache License 2.0
3.09k stars 171 forks source link

doc/turtorial/kubernetes: fix invalid user commands #994

Closed yujunz closed 3 years ago

yujunz commented 3 years ago

This PR solves the following errors in user command

$ cue ls ./...
command.ls.task.print: alias values not allowed in this position:
    ./ls_tool.cue:8:3

$ cue dump ./...
command.dump.task.print.text: invalid string argument: incomplete value:
    ./dump_tool.cue:6:8
    ./dump_tool.cue:8:3
    ./dump_tool.cue:8:9
myitcv commented 3 years ago

Thanks - noting https://github.com/cuelang/cue/issues/824, in particular my desire that we should be able to re-run this tutorial exactly as the user might run it.