Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/cue: mod edit should support setting language.version #3136

Open
myitcv opened this issue May 10, 2024 · 0 comments
Open

cmd/cue: mod edit should support setting language.version #3136

myitcv opened this issue May 10, 2024 · 0 comments
Labels
FeatureRequest New feature or request modules Issues related to CUE modules and the experimental implementation

Comments

@myitcv
Copy link
Member

myitcv commented May 10, 2024

Currently, as of v0.9.0-alpha.4, cue mod edit provides functionality for editing requirements, the source field and the module field, but not the language version.

It should do so. Strawman interface:

cue mod edit --language.version=v0.9.0

We could also support upgrading the version to the current version language version with:

cue mod edit --language.version=current

This would fail like other cue mod edit commands if there is no language version already present,
as the syntax of the file is predicated on that.

@myitcv myitcv added FeatureRequest New feature or request modules Issues related to CUE modules and the experimental implementation labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FeatureRequest New feature or request modules Issues related to CUE modules and the experimental implementation
Projects
Status: Backlog
Development

No branches or pull requests

1 participant