This commit is contained in:
Michael Stanclift 2021-01-12 22:54:56 +00:00
parent 6d11d0db13
commit 947d805b5b
3 changed files with 10 additions and 4 deletions

View File

@ -21,6 +21,7 @@ GOOD="[${GREEN}✓${NC}]"
STAT="[${CYAN}e${NC}]" STAT="[${CYAN}e${NC}]"
INFO="[${YELLOW}i${NC}]" INFO="[${YELLOW}i${NC}]"
NEED="[${BLUE}?${NC}]" NEED="[${BLUE}?${NC}]"
LOGO="[${PURPLE}${NC}]"
## Echo Stack ## Echo Stack
### Informative ### Informative
@ -53,6 +54,11 @@ function echo_need {
echo -en "${NEED} ${MESSAGE}: " echo -en "${NEED} ${MESSAGE}: "
} }
### Gravity Sync Logo
function echo_grav {
echo -e "${LOGO} ${BOLD}${MESSAGE}${NC}"
}
### Lines ### Lines
function echo_lines { function echo_lines {
echo -e "========================================================" echo -e "========================================================"

View File

@ -66,7 +66,7 @@ function ph_type {
# Standard Output # Standard Output
function start_gs { function start_gs {
MESSAGE="${PROGRAM} ${VERSION} Executing" MESSAGE="${PROGRAM} ${VERSION} Executing"
echo_info echo_grav
cd ${LOCAL_FOLDR} cd ${LOCAL_FOLDR}
import_gs import_gs
@ -92,7 +92,7 @@ function start_gs {
# Standard Output No Config # Standard Output No Config
function start_gs_noconfig { function start_gs_noconfig {
MESSAGE="${PROGRAM} ${VERSION} Executing" MESSAGE="${PROGRAM} ${VERSION} Executing"
echo_info echo_grav
cd ${LOCAL_FOLDR} cd ${LOCAL_FOLDR}
MESSAGE="Evaluating Arguments" MESSAGE="Evaluating Arguments"

View File

@ -15,7 +15,7 @@ function exit_nochange {
MESSAGE="${PROGRAM} ${TASKTYPE} Aborting ($((SCRIPT_END-SCRIPT_START)) seconds)" MESSAGE="${PROGRAM} ${TASKTYPE} Aborting ($((SCRIPT_END-SCRIPT_START)) seconds)"
fi fi
echo_info echo_grav
exit 0 exit 0
} }
@ -30,7 +30,7 @@ function exit_withchange {
MESSAGE="${PROGRAM} ${TASKTYPE} Completed ($((SCRIPT_END-SCRIPT_START)) seconds)" MESSAGE="${PROGRAM} ${TASKTYPE} Completed ($((SCRIPT_END-SCRIPT_START)) seconds)"
fi fi
echo_info echo_grav
exit 0 exit 0
} }