Error reference › CLI diagnostics
CLI003
missing required argument
errorWhat it means
Some commands need an operand; `run` requires the script path.
Trigger condition
A required argument is missing — currently `mozhi run` without a file.
Minimal failing example
$ mozhi runVerified fix
$ mozhi run app.mzThe usage line is printed together with the diagnostic.
What the interpreter prints
error[CLI003]: missing required argument
--> app.mz:1:16
1 | $ mozhi run
| ^
|
reason: (the exact problem, with positions)
help: (a suggested fix appears here)
docs: https://crossberry-in.github.io/mozhi-doc/errors/CLI003Run
mozhi --json run app.mz to get the same information as
machine-readable JSON (schema mozhi.diagnostics.v1), or --verbose to
also show grouped related diagnostics. See the CLI reference.Suggested fix
Provide the missing argument as shown in the usage line.
Related syntax
CLI: run
Related diagnostics
Reference links
Limitations
Only `mozhi run` validates this way in v3.2.0; other commands keep their previous argument handling.