Files
dokku/plugins/storage/commands
2016-11-28 03:06:30 +00:00

21 lines
406 B
Bash
Executable File

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