Skip to main content
Check that your .dino.yml is well-formed and passes all schema rules. Prints field-level error messages when validation fails. Runs without tenant context. No network calls to external services.

Usage

Flags

What It Checks

Validation runs the same Zod schema used internally by loadCliConfig(). One source of truth for config shape.
The schema uses .passthrough() — extra fields are allowed and ignored. You won’t get errors for unknown keys.

Examples

Valid config

No config file

When no config file exists, Dino falls back to built-in defaults. This is not an error.

Invalid endpoint

Invalid enum value

Multiple errors

All field-level errors are reported in a single message. Fix them all at once — no need to re-run between each fix.

Config Search Locations

dino validate uses cosmiconfig to find your config:
JavaScript config files (.js, .ts, .cjs, .mjs) are blocked for security and will be ignored.

Exit Codes