Mordhau Fight Club Statistics Analysis & Export(s)
...
export URL="https://github.com/Segmentational/Mordhau-MFC-Statistics.git"
git clone --recursive "${URL}" ./Mordhau-MFC-Statistics
cd ./Mordhau-MFC-Statistics
export CWD="$(git rev-parse --show-toplevel)"
export DEPENDENCY=(
"github.com/sniddunc/mordhau-rcon"
"github.com/joho/godotenv"
)
cd "${CWD}/RCON/GO"
for (( PACKAGE = 0; PACKAGE < "${#DEPENDENCY[@]}"; PACKAGE++ )); do
go get -v "${DEPENDENCY[$PACKAGE]}"
done
PUBLIC_IP="$(dig +short myip.opendns.com @resolver1.opendns.com)"