omissis/go-jsonschema

View on GitHub
scripts/format-yaml.sh

Summary

Maintainability
Test Coverage
#!/bin/sh

set -e
set -o errexit -o nounset

find . \( -name '*.yaml' -o -name '*.yml' \) -type f -exec yq eval -P -I 2 -M -i {} \;