Skip to main content
repost schema validate checks that your schema parses and satisfies every rule, and writes nothing. Errors render to stderr and exit 1; warnings render to stderr and still exit 0, so the command works as a CI check without failing on advisories.

Usage

Options

Examples

With warnings, the count is appended (is valid (1 warning).) and the warnings themselves print to stderr. On an error, the diagnostic names the file and the offending field, and the command exits 1.

Continue

fmt

The companion formatter, with its own CI mode.

generate

Validation runs as its first step.

Defining events

The rules this command enforces.