This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import ruamel.yaml | |
yaml = ruamel.yaml.YAML() | |
# yaml.preserve_quotes = True | |
directory = "." | |
for filename in os.listdir(directory): | |
if filename.endswith(".yml"): | |
with open(filename, "r") as fp: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o errexit | |
set -o errtrace | |
set -o nounset | |
set -o pipefail | |
#set -x | |
function script_usage() { | |
cat << EOF | |
Usage: |