initial commit
This commit is contained in:
15
apply.sh
Executable file
15
apply.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Make sure a config file was provided
|
||||
if [ $# -lt 1 ]; then
|
||||
echo "Usage: $0 <config file>"
|
||||
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]
|
||||
Reference in New Issue
Block a user