All apps/CUE

CUE

cue

Validate and define text-based and dynamic configuration

Runs as cue|macOS, Linux, Windows|cuelang.org

Command form

ai-draft · 5 tasks · 12 fields

Export, validate or format CUE configuration. Other subcommands, value injection, protobuf and non-CUE file options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui cue

cue export

Export as JSON, YAML or TOML
Export as JSON, YAML or TOMLExample values, fixed in this page — nothing here reaches a terminal
Basic
Inputs
any
Output format
YAMLenum
Expression
string
Output file
file
TasksEach one presets the form for one job
Export as YAML
inputsoutexpressionoutfile
Export as JSON
inputsoutexpressionoutfile
ParametersOnly these flags are editable in the form
Inputs
Packages, CUE files or data files; empty means the current package.
path · positional 0 · repeatable
Output format
enum
--outcuejsontomlyamltextbinary
Expression
Export this expression only; repeatable.
string · repeatable
--expression-e
Output file
path
--outfile-o
Overwrite existing files
boolean
--force-f

cue vet

Validate data against CUE
Validate data against CUEExample values, fixed in this page — nothing here reaches a terminal
Basic
Inputs*
any
Require concrete values
--concrete
Schema expression
string
TasksEach one presets the form for one job
Validate
inputsconcreteschema
ParametersOnly these flags are editable in the form
Inputs
Packages, CUE files or data files; empty means the current package.
path · positional 0 · repeatable
Require concrete values
boolean
--concrete-c
Schema expression
Expression selecting the schema used to check non-CUE data files.
string
--schema-d

cue fmt

Format CUE files
Format CUE filesExample values, fixed in this page — nothing here reaches a terminal
Basic
Inputs
any
Treat arguments as paths
--files
TasksEach one presets the form for one job
Format in place
inputsfiles
Preview changes
inputsdifffiles
ParametersOnly these flags are editable in the form
Inputs
Packages, CUE files or data files; empty means the current package.
path · positional 0 · repeatable
Check only
Exit non-zero if any file is not formatted.
boolean
--check
Show diffs instead of rewriting
boolean
--diff-d
Treat arguments as paths
Recursively format the given files or directories.
boolean
--files
SourcesEvery flag above is checked against these
help
cue export [flags] [inputs] -e, --expression stringArray export this expression only -f, --force force overwriting existing files --out string output format (run 'cue help filetypes' for more info) -o, --outfile string filename or - for stdout with optional file prefix cue Output as CUE (…
help2026-10-27

cuelang.org

help
cue vet [flags] [inputs] -c, --concrete require the evaluation to be concrete, or set -c=false to allow incomplete values -d, --schema string expression to select schema for evaluating values in non-CUE files
help2026-10-27

cuelang.org

help
cue fmt [flags] [inputs] --check exits with non-zero status if any files are not formatted -d, --diff display diffs instead of rewriting files --files treat arguments as paths to files or directories to recursively format
help2026-10-27

cuelang.org

Before it fills your prompt, Otty checks the installed cue against its version. A form that does not match your version is not offered.