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_enable_cmd() {
|
||||
cmd-plugin-enable() {
|
||||
declare desc="enables plugin via command line"
|
||||
local cmd="plugin:enable"
|
||||
[[ -z $2 ]] && dokku_log_fail "Please specify a plugin to enable"
|
||||
@@ -14,4 +14,4 @@ plugin_enable_cmd() {
|
||||
plugin_prime_bash_completion
|
||||
}
|
||||
|
||||
plugin_enable_cmd "$@"
|
||||
cmd-plugin-enable "$@"
|
||||
|
||||
Reference in New Issue
Block a user