#!/bin/bash echo "Welcome to plex-tools wrapper utility!" script_delegation () { if [[ $# -gt 0 ]] ; then echo "$1" if [[ "$1" "token" ]] then source plex-token.sh else echo "'$1' is not a valid plex-tools command" fi }