1 Star 0 Fork 0

houmingzhang/mycommand

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mycolor 573 Bytes
一键复制 编辑 原始数据 按行查看 历史
houmingzhang 提交于 2021-12-06 01:27 +08:00 . webrtc
#!/bin/bash
# 先定义一些颜色:
red='\e[0;41m' # 红色
RED='\e[1;31m'
green='\e[0;32m' # 绿色
GREEN='\e[1;32m'
yellow='\e[5;43m' # 黄色
YELLOW='\e[1;33m'
blue='\e[0;34m' # 蓝色
BLUE='\e[1;34m'
purple='\e[0;35m' # 紫色
PURPLE='\e[1;35m'
cyan='\e[4;36m' # 蓝绿色
CYAN='\e[1;36m'
WHITE='\e[1;37m' # 白色
NC='\e[0m' # 没有颜色
function logdebug() {
echo -e "$PURPLE $* $NC"
}
function loginfo() {
echo -e "$GREEN $* $NC"
}
function logwarn() {
echo -e "$YELLOW $* $NC"
}
function logerror() {
echo -e "$RED $* $NC"
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/dtrylzhm/mycommand.git
git@gitee.com:dtrylzhm/mycommand.git
dtrylzhm
mycommand
mycommand
master

搜索帮助