This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
services/help.sh

24 lines
289 B
Bash
Raw Permalink Normal View History

#!/bin/bash
set -eu
script_start() {
START=`date +%s`
}
script_end() {
END=`date +%s`
echo
echo "✨ Done in $((END-START))s"
}
script_env() {
ENV_FILE_DEFAULT=.env
ENV_FILE=${ENV_FILE:-$ENV_FILE_DEFAULT}
source $ENV_FILE
}
backup_folder_create() {
mkdir -p backups
}