Rainbond/hack/contrib/docker/webcli/entrypoint.sh
2020-09-06 11:09:48 +08:00

8 lines
169 B
Bash
Executable File

#!/bin/bash
if [ "$1" = "bash" ];then
exec /bin/bash
elif [ "$1" = "version" ];then
/usr/bin/rainbond-webcli version
else
exec /usr/bin/rainbond-webcli $@
fi