Linux YAML Validator Wiersz poleceń

python -c 'import yaml, sys; yaml.safe_load(sys.stdin)' < cfg.yaml
Tough Tuatara