Add color-coding to kubemark scripts.

parent 1eb2acca
......@@ -74,3 +74,20 @@ function copy-files() {
function delete-master-instance-and-resources {
echo "Deleting master instance and its allocated resources" 1>&2
}
# Common colors used throughout the kubemark scripts
if [[ -z "${color_start-}" ]]; then
declare -r color_start="\033["
# shellcheck disable=SC2034
declare -r color_red="${color_start}0;31m"
# shellcheck disable=SC2034
declare -r color_yellow="${color_start}0;33m"
# shellcheck disable=SC2034
declare -r color_green="${color_start}0;32m"
# shellcheck disable=SC2034
declare -r color_blue="${color_start}1;34m"
# shellcheck disable=SC2034
declare -r color_cyan="${color_start}1;36m"
# shellcheck disable=SC2034
declare -r color_norm="${color_start}0m"
fi
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment