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:
@@ -5,7 +5,7 @@ source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/plugin/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/plugin/internal-functions"
|
||||
|
||||
plugin_disable_cmd() {
|
||||
cmd-plugin-disable() {
|
||||
declare desc="disables plugin via command line"
|
||||
local cmd="plugin:disable"
|
||||
[[ -z $2 ]] && dokku_log_fail "Please specify a plugin to disable"
|
||||
@@ -14,4 +14,4 @@ plugin_disable_cmd() {
|
||||
plugin_prime_bash_completion
|
||||
}
|
||||
|
||||
plugin_disable_cmd "$@"
|
||||
cmd-plugin-disable "$@"
|
||||
|
||||
Reference in New Issue
Block a user