24 lines
342 B
Bash
Executable File
24 lines
342 B
Bash
Executable File
#!/bin/bash
|
|
|
|
BLACK="\033[30m"
|
|
RED="\033[31m"
|
|
GREEN="\033[32m"
|
|
YELLOW="\033[33m"
|
|
BLUE="\033[34m"
|
|
PINK="\033[35m"
|
|
CYAN="\033[36m"
|
|
WHITE="\033[37m"
|
|
RESET="\033[0;39m"
|
|
|
|
print_info() {
|
|
echo -e "$RESET"["$BLUE"i"$RESET"] $@
|
|
}
|
|
|
|
print_warn () {
|
|
echo -e "$RESET"["$YELLOW"!"$RESET"] $@
|
|
}
|
|
|
|
print_error () {
|
|
echo -e "$RESET"["$RED"x"$RESET"] $@
|
|
}
|