First commit

This commit is contained in:
Roman Ožana
2023-04-05 17:50:56 +02:00
commit 54d313d518
5 changed files with 142 additions and 0 deletions

8
example/usage.sh Executable file
View File

@@ -0,0 +1,8 @@
source colors.sh
# with colors.sh sourced, you can use the constants
echo "${RED}This is red text${NC} and this is ${GREEN}green ${BLINK}blink${NC} text${NC}"
echo "this is ${MAGENTA}magenta ${BLINK}blink${NC} text${NC}"
# or you can use the functions
echo $(gray "[INFO] " && green "This is gree test")