This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
red=`tput setaf 1` | |
green=`tput setaf 2` | |
yellow=`tput setaf 3` | |
reset=`tput sgr0` | |
command -v jq >/dev/null 2>&1 || { echo "${red}Script could not find jq command installed on system.Installing...${reset}" >&2; `brew install jq`; } | |
# command -v jq >/dev/null 2>&1 || { echo >&2 ". Aborting."; exit 1; } |