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:
@@ -6,7 +6,7 @@ source "$PLUGIN_AVAILABLE_PATH/config/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/ps/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/ps/internal-functions"
|
||||
|
||||
ps_restore_cmd() {
|
||||
cmd-ps-restore() {
|
||||
declare desc="starts all apps with DOKKU_APP_RESTORE not set to 0 via command line"
|
||||
local cmd="ps:restore"
|
||||
local APP="$2"
|
||||
@@ -30,4 +30,4 @@ ps_restore_cmd() {
|
||||
fi
|
||||
}
|
||||
|
||||
ps_restore_cmd "$@"
|
||||
cmd-ps-restore "$@"
|
||||
|
||||
Reference in New Issue
Block a user