Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Allow to explicitly choose the format in cue vet #183

Closed
suhr opened this issue Nov 22, 2019 · 2 comments
Closed

Allow to explicitly choose the format in cue vet #183

suhr opened this issue Nov 22, 2019 · 2 comments
Labels
FeatureRequest New feature or request NeedsDesign Functionality seems desirable, but not sure how it should look like. roadmap/cli Specific tag for roadmap issue #337
Milestone

Comments

@suhr
Copy link

suhr commented Nov 22, 2019

So it would be possible to do something like cue vet --format json backlog.data task.cue

@mpvl mpvl added the FeatureRequest New feature or request label Nov 22, 2019
@mpvl
Copy link
Contributor

mpvl commented Nov 22, 2019

This seems useful. The question is what would be a good API. For instance, we could alternatively allow overrides for individual files, like: cue vet json:backlog.data task.cue

@mpvl mpvl added the NeedsDesign Functionality seems desirable, but not sure how it should look like. label Nov 22, 2019
@mpvl mpvl added the roadmap/cli Specific tag for roadmap issue #337 label Dec 3, 2019
@mpvl mpvl added this to the v0.0.16 - cli boost milestone Dec 5, 2019
mpvl added a commit that referenced this issue Feb 17, 2020
The idea is that the build.File type will be added
to the build.Instance type, replacing the current
file specs. It will be populated by the load package.

The command line tool can subsequently use this
package to determine settings on how to interpret
build.File. It is a separate internal package so that
the API can be shared by load and cmd.

Issue #280
Issue #254
Issue #183
Issue #130
Issue #116

Change-Id: I47f2391945113fe664f0ec33b0048be70326edb5
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/4946
Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
@mpvl mpvl closed this as completed in 01fbfa1 Feb 28, 2020
@myitcv myitcv modified the milestones: v0.0.16 - cli boost, v0.1.0 Apr 9, 2020
@cueckoo
Copy link

cueckoo commented Jul 3, 2021

This issue has been migrated to cue-lang/cue#183.

For more details about CUE's migration to a new home, please see cue-lang/cue#1078.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FeatureRequest New feature or request NeedsDesign Functionality seems desirable, but not sure how it should look like. roadmap/cli Specific tag for roadmap issue #337
Projects
None yet
Development

No branches or pull requests

4 participants