#!/bin/bash set -eo pipefail if [[ -n "${BASHD_DEBUG}" ]]; then # a inevitability that this will be used set -x fi trap cleanup EXIT # A little more robust cleanup cleanup() { # We can clean up any temp files or what nots, but for now a place holder true } source ./config_json.bash # can be json or ini, I preffer json # Code goes here