This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
Replies: 1 comment
-
This discussion has been migrated to cue-lang/cue#1054. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Suppose I have CUE file with the following content:
It's a top-level list, not a struct with any field names.
Suppose I'd like to export it as a multi-document YAML stream. Ideally I'd be able to refer to this top-level value in a command like this:
Here I used the identifier
$
in an appeal to Jsonnet, as some way to refer to the top-level value, but of course$
is not understood by CUE.I experimented with using the
--path
and--with-context
flags, to no avail.Beta Was this translation helpful? Give feedback.
All reactions