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:
Timo Reymann
2023-02-15 00:19:14 +01:00
parent c25f947416
commit 762ae97a36
15 changed files with 920 additions and 2 deletions
+15
View File
@@ -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
}