Skip to main content
The validate command inspects your local registry.json definition to ensure schema correctness, verifies that all referenced source files exist on disk, checks against path traversal risks, and guards against circular dependencies.

Usage

Or using the registry namespace alias:

Quick Examples


Validation Checks


Options

--json

Outputs a structured JSON diagnostic report. When valid, exits with code 0; if errors are discovered, exits with code 1.

--cwd, -c <path>

Root working directory to evaluate paths against.