refactor: standardize command naming
This standardization makes it somewhat easier to read stacktraces as the command names are all uniform, so it will be slightly easier to scan trace output.
This commit is contained in:
@@ -4,7 +4,7 @@ source "$PLUGIN_CORE_AVAILABLE_PATH/common/property-functions"
|
||||
set -eo pipefail
|
||||
[[ $DOKKU_TRACE ]] && set -x
|
||||
|
||||
git-set-cmd() {
|
||||
cmd-git-set() {
|
||||
declare desc="set or clear a git property for an app"
|
||||
local cmd="git:set" argv=("$@")
|
||||
[[ ${argv[0]} == "$cmd" ]] && shift 1
|
||||
@@ -33,4 +33,4 @@ git-set-cmd() {
|
||||
fi
|
||||
}
|
||||
|
||||
git-set-cmd "$@"
|
||||
cmd-git-set "$@"
|
||||
|
||||
Reference in New Issue
Block a user