feat: add more design scripts

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim)
2023-08-16 17:46:04 +08:00
parent f73b653d0e
commit 30c0decaeb
3 changed files with 55 additions and 7 deletions
+3 -1
View File
@@ -175,6 +175,7 @@ openim::log::progress() {
done
}
# Print out some info that isn't a top level status line
openim::log::info_from_stdin() {
local messages=()
while read -r line; do
@@ -205,7 +206,8 @@ openim::log::success()
if [[ ${OPENIM_VERBOSE} < ${V} ]]; then
return
fi
echo_log -e "${BRIGHT_GREEN_PREFIX}[success] ${COLOR_SUFFIX}==> " "$@"
timestamp=$(date +"%m%d %H:%M:%S")
echo_log -e "${BRIGHT_GREEN_PREFIX}[success ${timestamp}] ${COLOR_SUFFIX}==> " "$@"
}
function openim::log::test_log() {