Add a --check flag to schema-cast generate that compares what would be generated against the existing files in --out and exits non-zero if they differ, without overwriting anything. This lets CI catch cases where someone edited generated output by hand or forgot to regenerate after changing a schema.
Add a --check flag to schema-cast generate that compares what would be generated against the existing files in --out and exits non-zero if they differ, without overwriting anything. This lets CI catch cases where someone edited generated output by hand or forgot to regenerate after changing a schema.