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

Feature request: find cue.mod in parent directory #405

Open
yujunz opened this issue Jun 26, 2024 · 0 comments
Open

Feature request: find cue.mod in parent directory #405

yujunz opened this issue Jun 26, 2024 · 0 comments

Comments

@yujunz
Copy link

yujunz commented Jun 26, 2024

It seems currently timoni looks for cue.mod in the current directory only.

timoni mod vendor crds -f crd.yaml
9:28PM ERR cue.mod not found in the module path

It would be nice to find the main module in a parent directory as cue does.

See https://cuelang.org/docs/reference/modules/#glossary

main module: The module in which the cue command is invoked. The main module is defined by a cue.mod/module.cue file in the current directory or a parent directory. See Modules, packages, and versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant