While I do not agree with _every_ style change, this will force Dokku to have consistent formatting across all shell scripts, which is arguably a Good Thing™. The command used to reprocess everything is: ```shell shfmt -l -bn -ci -i 2 -w . ```
14 lines
317 B
Bash
Executable File
14 lines
317 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
[[ $DOKKU_TRACE ]] && set -x
|
|
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
|
|
|
events_off_cmd() {
|
|
declare desc="disables dokku events logger"
|
|
local cmd="events:off"
|
|
echo "Disabling dokku events logger"
|
|
rm -f "$DOKKU_ROOT/.dokkurc/DOKKU_EVENTS"
|
|
}
|
|
|
|
events_off_cmd "$@"
|