refactor: unify command declaration across codebase
This commit is contained in:
@@ -6,7 +6,8 @@ source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/functions"
|
||||
|
||||
cmd-nginx-logs() {
|
||||
declare desc="display app nginx logs from command line"
|
||||
local cmd="$1"
|
||||
declare cmd="$1"
|
||||
|
||||
[[ -z $2 ]] && dokku_log_fail "Please specify an app to run the command on"
|
||||
nginx_logs "$@"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user