stefanprodan / timoni

Timoni is a package manager for Kubernetes, powered by CUE and inspired by Helm.
https://timoni.sh
Apache License 2.0
1.58k stars 70 forks source link

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

Open yujunz opened 5 months ago

yujunz commented 5 months ago

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.