refactor: storage:default is now an alias for storage:help

This commit is contained in:
Jose Diaz-Gonzalez
2017-02-20 18:34:54 -07:00
parent e99e0b02d4
commit ac8aff1f00

View File

@@ -1,14 +1,5 @@
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_CORE_AVAILABLE_PATH/storage/functions"
source "$PLUGIN_AVAILABLE_PATH/storage/internal-functions"
storage_main_cmd() {
declare desc="an alias for storage:list"
local cmd="storage"
dokku_log_warn "Deprecated: Please use storage:list"
storage_list_cmd "$@"
}
storage_main_cmd "$@"
storage_help_cmd "storage:help"