21 lines
406 B
Bash
Executable File
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
|