use declare for description variable
This commit is contained in:
@@ -3,7 +3,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
|
||||
tar_receive_app() {
|
||||
local desc="tar receive-app plugin trigger"
|
||||
declare desc="tar receive-app plugin trigger"
|
||||
local trigger="tar_receive_app"
|
||||
local APP="$1"; local REV="$2"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
|
||||
tar_build_cmd() {
|
||||
local desc="calls tar:build-locked via command line"
|
||||
declare desc="calls tar:build-locked via command line"
|
||||
local cmd="tar:build"
|
||||
|
||||
verify_app_name "$2"
|
||||
|
||||
@@ -3,7 +3,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
|
||||
tar_build_locked_cmd() {
|
||||
local desc="builds apps from tarball via command line"
|
||||
declare desc="builds apps from tarball via command line"
|
||||
local cmd="tar:build-locked"
|
||||
local APP="$2"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
|
||||
tar_from_cmd() {
|
||||
local desc="deploys app from tarball at URL via command line"
|
||||
declare desc="deploys app from tarball at URL via command line"
|
||||
local cmd="tar:from"
|
||||
verify_app_name "$2"
|
||||
local APP=$2
|
||||
|
||||
@@ -3,7 +3,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
|
||||
tar_in_cmd() {
|
||||
local desc="deploys app from tarball on STDIN via command line"
|
||||
declare desc="deploys app from tarball on STDIN via command line"
|
||||
local cmd="tar:in"
|
||||
local APP="$2"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user