This commit is contained in:
deathbybandaid 2023-03-14 10:54:04 -04:00
parent 12ede6cccb
commit 141c28b592

View File

@ -5,11 +5,13 @@ echo "Welcome to plex-tools wrapper utility!"
script_delegation ()
{
if [ -f "$1" ] ; then
case $1 in
token) source ./plex-token.sh ;;
esac
if [ "$1" == "token" ]
then
source ./plex-token.sh
fi
else
echo "'$1' is not a valid plex-tools command"
fi
}
script_delegation