Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Requires jq and curl to be installed
jq --help > /dev/null
if [ $? -ne 0 ]; then
echo "jq not installed. Please use your favorite package manager to install jq. More info at https://stedolan.github.io/jq/download/"
exit 1
fi
curl --help > /dev/null
if [ $? -ne 0 ]; then