Daniel Martí

Results 1732 comments of Daniel Martí

If multiple behaviors are wanted depending on the use case, we could always rethink the flag slightly so that `--list` is equivalent to `--list=all`, and add another mode like `--list=nonnull`...

I wrote a testscript to think through this a bit more before we merge the change: ``` exec cue import --outfile=- --list input-noempty.yaml exec cue import --outfile=- --path=strings.ToLower(kind) input-noempty.yaml exec...

After discussing with @rogpeppe and @mpvl we agreed on a simpler approach and smaller fix: make `--path` skip over null values (such as empty YAML documents) when the `--path` argument...

I also filed https://github.com/cue-lang/cue/issues/3608 for an idea we had to extend the YAML encoding a bit too, so that it is able to omit empty or null documents entirely from...

I assume this is a duplicate of https://github.com/cue-lang/cue/issues/267, so I've closed that one as such. Please flag if I got that wrong.

Not a duplicate of #4037, as that bug is now resolved, but this one remains. Here's a reduction, as of b9bf6a8d99c08f477e75f9ef467028619a64d581: ``` exec cue vet -c=false in.cue -- in.cue --...

However, likely a dupe of #3477. I'll leave both open for now just in case.

* cue/load v2 should be designed with io/fs support out of the box too: https://github.com/cue-lang/cue/issues/607

So much has changed in the last three years - we have proper CUE modules now, and `cue get go` has improved quite a lot as well. It sounds to...

And I think we can track making `--local` the default - or dropping the flag entirely - via #646, which already has it as a bullet point.