Skip to main content
版本:v1.9

vela def vet

Validate X-Definition.

Synopsis

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]

Examples

# 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/

Options

  -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

SEE ALSO

Go Back to CLI Commands Homepage.

Auto generated by spf13/cobra script in KubeVela.