vibecoded yaml document schema checker
- Go 97.4%
- Dockerfile 2.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| samples | ||
| .build.yaml | ||
| .editorconfig | ||
| .gitignore | ||
| .hadolint.yaml | ||
| .pre-commit-hooks.yaml | ||
| .semrel.yaml | ||
| .yamllint.yml | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| prek.toml | ||
| README.md | ||
| Taskfile.yml | ||
| yamlscheck.go | ||
| yamlscheck_test.go | ||
yamlscheck
Validates YAML documents against JSON schemas defined in their head comments.
Usage
yamlscheck [flags] <yaml-file>...
Available flags:
-debug: Enable debug output
Each YAML document should have a head comment defining its schema. Two formats are supported:
# yaml-language-server: $schema=<schema-path-or-url>
# $schema: <schema-path-or-url>
With Docker:
docker run \
--rm \
--volume "$(pwd)/samples:/tmp/samples" \
docker.io/nikaro/yamlscheck:latest \
/tmp/samples/test.yml