#!/bin/bash # @name User-Feedback # @brief Provides useful colored outputs for user feedback on actions # @description Display error message in stderr, prefixed by check emoji # @arg $1 string Error message to display show_error() { echo -e "\e[91;1m\u2718 $1" >&2 } # @description Display success message in stderr, prefixed by cross emoji # @arg $1 string Success message to display show_success() { echo -e "\e[92;1m\u2714 $1" >&2 }