1
0
Fork 0

docker: cleanup script

This commit is contained in:
Christian Winther 2024-03-10 15:16:25 +00:00
parent 3a1f4789e6
commit ad382f8f55
1 changed files with 0 additions and 10 deletions

View File

@ -8,7 +8,6 @@ set -e -o errexit -o nounset -o pipefail
declare -r RED="\e[31m" declare -r RED="\e[31m"
declare -r GREEN="\e[32m" declare -r GREEN="\e[32m"
declare -r YELLOW="\e[33m"
declare -r BLUE="\e[34m" declare -r BLUE="\e[34m"
declare -r NO_COLOR="\e[0m" declare -r NO_COLOR="\e[0m"
@ -25,19 +24,10 @@ function action_start() {
echo -en "⚙️ $1: " echo -en "⚙️ $1: "
} }
function action_start_newline() {
action_start "$1"
echo
}
function action_ok() { function action_ok() {
echo -e "\n\t✅ ${GREEN}${*}${NO_COLOR}\n" echo -e "\n\t✅ ${GREEN}${*}${NO_COLOR}\n"
} }
function action_warn() {
echo -e "⚠️ ${YELLOW}${*}${NO_COLOR}"
}
function action_error() { function action_error() {
echo -e "\n\t❌ ${RED}${*}${NO_COLOR}" >&2 echo -e "\n\t❌ ${RED}${*}${NO_COLOR}" >&2
} }