Add function to usage

This commit is contained in:
Roman Ožana 2023-04-05 18:06:09 +02:00
parent c2a3f3cc56
commit 13f4fcb745

View File

@ -6,3 +6,7 @@ echo "this is ${MAGENTA}magenta ${BLINK}blink${NC} text${NC}"
# or you can use the functions
echo $(gray "[INFO] " && green "This is gree test")
# there can be a function that uses the colors
function info() { echo $(gray "[INFO] " && yellow "$@"); }
info "This is a info test"