NOAA-EMC / JEDI-T2O

JEDI Transition to Operations activities.
GNU Lesser General Public License v2.1
5 stars 4 forks source link

Simple tool to compare YAML files #28

Closed CoryMartin-NOAA closed 2 years ago

CoryMartin-NOAA commented 2 years ago

To help facilitate separate YAMLs in NOAA-EMC maintained repos, this PR adds a simple tool that will recursively check for keys (and values if specified) between a reference and test YAML file.

Usage: python check_yaml_keys.py /path/to/ref.yaml /path/to/new.yaml