Add warn function
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
4aa57f98c7
commit
2da99b2efb
@ -1,6 +1,7 @@
|
|||||||
COLOR_RED="\033[0;31m"
|
COLOR_RED="\033[0;31m"
|
||||||
COLOR_GREEN="\033[0;32m"
|
COLOR_GREEN="\033[0;32m"
|
||||||
COLOR_CYAN="\033[0;36m"
|
COLOR_CYAN="\033[0;36m"
|
||||||
|
COLOR_YELLOW="\033[0;33m"
|
||||||
COLOR_PLAIN="\033[0m"
|
COLOR_PLAIN="\033[0m"
|
||||||
|
|
||||||
function error {
|
function error {
|
||||||
@ -23,3 +24,7 @@ function step {
|
|||||||
function success {
|
function success {
|
||||||
echo -e "${COLOR_GREEN}$@${COLOR_PLAIN}"
|
echo -e "${COLOR_GREEN}$@${COLOR_PLAIN}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function warn {
|
||||||
|
echo -e "${COLOR_YELLOW}$@${COLOR_PLAIN}"
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user