1 Star 2 Fork 2

Holyhi/git-webhooks-server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
message.sh 500 Bytes
一键复制 编辑 原始数据 按行查看 历史
Troy 提交于 2020-06-08 18:24 +08:00 . first commit
#!/usr/bin/env bash
[ -z $script_dir ] && exit 1
# info
INFO()
{
echo -e "\033[32;1m$1\033[37;0m"
}
INFO_N()
{
echo -ne "\033[32;1m$1\033[37;0m"
}
# warning
WARN()
{
echo -e "\033[1;33m$1\033[37;0m"
}
WARN_N()
{
echo -ne "\033[1;33m$1\033[37;0m"
}
# error
ERR()
{
echo -e "\033[31;1m$1\033[37;0m"
}
ERR_N()
{
echo -ne "\033[31;1m$1\033[37;0m"
}
# question
QUES()
{
echo -e "\033[34;1m$1:\033[37;0m"
read $2
}
QUES_N()
{
echo -ne "\033[34;1m$1:\033[37;0m"
read $2
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/holyhi/git-webhooks-server.git
git@gitee.com:holyhi/git-webhooks-server.git
holyhi
git-webhooks-server
git-webhooks-server
master

搜索帮助