docker/pixelfed/pixelfed

11 lines
138 B
Bash
Executable file

#!/usr/bin/env bash
COMMAND=pixelfed-$1
if which $COMMAND; then
$COMMAND "${@:2}"
else
echo "Could not find command"
exit 1
fi