Skip to main content
Version: v1.10

vela cuex eval

Eval cue file with CueX engine.

Synopsis

Eval cue file with CueX engine.

Evaluate your cue file with the CueX engine. When your cue file does not use KubeVela's extension, it will work similarly to the native CUE CLI. When using KubeVela's extensions, this command will execute the extension functions and resolve values, in addition to the native CUE compile process.

vela cuex eval [flags]

Examples

  # Evaluate a cue file
vela cuex eval -f my.cue

# Evaluate a cue file into json format
vela cuex eval -f my.cue -o json

# Evaluate a cue file and output the target path
vela cuex eval -f my.cue -p key.path

Options

  -f, --file string     file for eval
-o, --format string format of the output (default "cue")
-h, --help help for eval
-p, --path string path for eval

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 cuex - Manage CueX engine for compile.

Go Back to CLI Commands Homepage.

Auto generated by spf13/cobra script in KubeVela.