vela def validate-module
Validate all definitions in a Go module.
Synopsis
Validate all definitions in a Go module without applying them.
Checks:
- All Go definition files can be parsed
- All definitions generate valid CUE
- Module metadata is valid (if module.yaml exists)
- Minimum KubeVela version requirements (if specified)
vela def validate-module [flags]
Examples
# Validate definitions in a local directory
> vela def validate-module ./my-definitions
# Validate definitions in a remote Go module
> vela def validate-module github.com/myorg/definitions@v1.0.0
Options
-h, --help help for validate-module
-v, --version string Version of the module (for remote modules)
Options inherited from parent commands
-V, --verbosity Level number for the log level verbosity
-y, --yes Assume yes for all user prompts
SEE ALSO
- vela def - Manage definitions.