CLI to validate YAML, JSON, and TOML configuration files. Built for local dev and CI pipelines.
RU: configo проверяет синтаксис конфигов и (опционально) JSON Schema — удобно для фриланса и аудита конфигураций перед деплоем.
go install github.com/make-smart-products/configo/cmd/configo@latestOr build from source:
git clone git@github.com:make-smart-products/configo.git
cd configo
go build -o bin/configo ./cmd/configo# Check one file
configo check app.yaml
# Check a directory recursively
configo check ./configs
# Docker Compose schema
configo check docker-compose.yaml --schema docker-compose
# CI mode (exit 1 on errors)
configo check . --ci
# JSON report
configo check . --json| Command | Description |
|---|---|
check |
Validate files or directories |
schema |
List built-in schemas |
version |
Show version |
| Flag | Description |
|---|---|
--format |
auto, yaml, json, toml |
--schema |
Built-in schema name |
--schema-file |
Path to custom JSON Schema |
--strict |
Stricter schema rules |
--ci |
Minimal output, non-zero exit on failure |
--json |
JSON report |
--max-errors |
Limit errors per file (default 50) |
docker-compose— requires top-levelservicesmap
configo schema| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Validation or runtime error |
| 2 | CLI usage error |
See docs/ARCHITECT.md and agent prompts in docs/PROMPTS.md.
docker build -t configo .
docker run --rm -v "${PWD}:/work" -w /work configo check .MIT — see LICENSE.