cue mod tidy
CUE v0.18.0
download and tidy module dependencies
Usage
cue mod tidy [flags]Tidy resolves all module dependencies in the current module and updates the cue.mod/module.cue file to reflect them.
It also removes dependencies that are not needed.
It will attempt to fetch modules that aren't yet present in the dependencies by fetching the latest available version from a registry.
See "cue help environment" for details on how $CUE_REGISTRY is used to determine the modules registry.
Flags
--check check for tidiness after fetching dependencies; fail if module.cue would be updated
--local-only only update cue.mod/local-module.cue, leaving cue.mod/module.cue unchangedGlobal flags
-E, --all-errors print all available errors
-C, --chdir string change working directory before running command (must be the first flag)
-i, --ignore proceed in the presence of errors
-s, --simplify simplify output