cue mod resolve

CUE v0.18.0

Show how a module path resolves to a registry

Usage

cue mod resolve [<modulepath>[@<version>] ...] [flags]

This command prints information about how a given module path will resolve to an actual registry in the form of an OCI reference.

If the module version (which must be a canonical semver version) is omitted, it omits the tag from the reference.

It only consults local information - it works lexically with respect to the registry configuration (see "cue help registryconfig") and does not make any network calls to check whether the module exists.

If no arguments are provided, the current module path is used. This is equivalent to specifying "." as an argument, which also refers to the current module.

If the --deps flag is provided, all dependencies from the current module are resolved and displayed. The --deps flag cannot be used with module path arguments.

Flags

--deps                             resolve all dependencies in the current module

Global 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
Install CUE