Files
dokku/plugins/ssh-keys/commands
2016-11-28 02:59:32 +00:00

22 lines
412 B
Bash
Executable File

#!/usr/bin/env bash
[[ " help ssh-keys:help " == *" $1 "* ]] || exit "$DOKKU_NOT_IMPLEMENTED_EXIT"
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_AVAILABLE_PATH/ssh-keys/functions"
case "$1" in
help | ssh-keys:help)
if [[ $1 = "ssh-keys:help" ]] ; then
help_formatted
else
help_content_func
fi
;;
*)
exit "$DOKKU_NOT_IMPLEMENTED_EXIT"
;;
esac