feat: Add first modules
This adds the first modules blocks from the initial proof of concept, with basic docs. Currently missing is bundling and usage instructions
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/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
|
||||
}
|
||||
Reference in New Issue
Block a user