Skip to main content

vela def vet

Validate X-Definition.


Validate definition file by checking whether it has the valid cue format with fields set correctly

  • Currently, this command only checks the cue format. This function is still working in progress and we will support more functional validation mechanism in the future.
vela def vet DEFINITION.cue [flags]


# Command below will validate the my-def.cue file.
> vela def vet my-def.cue
# Validate every cue file provided
> vela def vet my-def1.cue my-def2.cue my-def3.cue
# Validate every cue file in the specified directories> vela def vet ./test1/ ./test2/


  -h, --help   help for vet

Options inherited from parent commands

  -V, --verbosity Level   number for the log level verbosity
-y, --yes Assume yes for all user prompts


Go Back to CLI Commands Homepage.

Auto generated by spf13/cobra script in KubeVela.