#!/bin/bash # Make sure a config file was provided if [ $# -lt 1 ]; then echo "Usage: $0 " exit fi # Attempt to parse the config file INPUT_FILE=$1 echo "Parsing config info from $INPUT_FILE..." TEST=$(jq '.outputs[]' $INPUT_FILE) echo $TEST[0]