This commit is contained in:
deathbybandaid 2023-03-14 10:56:34 -04:00
parent 141c28b592
commit 7ea4e028a0

View File

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