pretty printing now in the framework.
This commit is contained in:
18
includes/pretty_print.sh
Normal file
18
includes/pretty_print.sh
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
function print_info()
|
||||||
|
{
|
||||||
|
GREEN='\033[0;32m'
|
||||||
|
NC='\033[0m'
|
||||||
|
tput bold
|
||||||
|
echo -e "$GREEN $1${NC}"
|
||||||
|
tput sgr0
|
||||||
|
}
|
||||||
|
|
||||||
|
function print_error()
|
||||||
|
{
|
||||||
|
RED='\033[0;31m'
|
||||||
|
NC='\033[0m'
|
||||||
|
tput bold
|
||||||
|
echo -e "$RED $1${NC}"
|
||||||
|
echo "$1"
|
||||||
|
tput sgr0
|
||||||
|
}
|
Reference in New Issue
Block a user