added yaml parser

This commit is contained in:
Shihaam Abdul Rahman 2023-10-06 00:44:03 +05:00
parent 9fc61e0561
commit 96cb1fb9e5
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

View File

@ -85,9 +85,10 @@ fi
}
check_file "$@"
# Output the file and engine being used
echo "Using $file with engine $engine"
yq() {
$engine run --rm -i -v "${PWD}":/workdir mikefarah/yq "$@"
}