# In Python, the pyyaml package provides yaml validation with 'yamllint'
# Here is a command to install the package:
pip install --user yamllint
# Using Python command, we can validate and print the validation logs to console:
python -c 'import yaml, sys; print(yaml.safe_load(sys.stdin))' < input.yaml