functions.sh 239 B

12345678910111213141516171819202122
  1. # Colors
  2. RED="\e[31m"
  3. GREEN="\e[32m"
  4. YELLOW="\e[33m"
  5. RESET="\e[0m"
  6. # Functions
  7. echo_error() {
  8. echo -e "${RED}$1${RESET}"
  9. }
  10. echo_warning() {
  11. echo -e "${YELLOW}$1${RESET}"
  12. }
  13. echo_success() {
  14. echo -e "${GREEN}$1${RESET}"
  15. }