Open jpluscplusm opened 2 months ago
Thanks for filing this. From reading cue help inputs
, cue export package-p.cue
and cue export .:p
should have exactly the same behavior, so I think this is definitely a bug.
I think all four commands should succeed, with the assumption that -e
only evaluates what it needs to - and it clearly already does that in some cases.
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest stable release?
0.10.0 is latest
What did you do?
What did you expect to see?
I expected to see one of these outcomes:
-e
flag-e
flagWhat did you see instead?
Context
I'm currently writing a concept guide for cuelang.org that explains
cue export
. The inconsistency highlighted above will either need to be called out explicitly, complicating the guide; or (preferably; if it's an error) corrected in the command's behaviour.