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 () script_delegation ()
{ {
if [ -f "$1" ] ; then if [ -f "$1" ] ; then
case $1 in if [ "$1" == "token" ]
token) source ./plex-token.sh ;; then
esac source ./plex-token.sh
fi
else else
echo "'$1' is not a valid plex-tools command" echo "'$1' is not a valid plex-tools command"
fi fi
} }
script_delegation script_delegation