3 Star 1 Fork 6

lang.yu / scaffold-ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
run-doc.sh 584 Bytes
一键复制 编辑 原始数据 按行查看 历史
lang.yu 提交于 2023-06-22 09:38 . RESET
#!/usr/bin/env bash
# 两个环境变量,生成API文档的目录和API文档服务器的端口
export DOC_OUT=document
export PORT=30211
echo -e "\033[32m[Zero UI]\033[0m 输入命令: \"\033[33m$1\033[0m\"!"
echo -e "命令清单: "
echo -e " \033[33mdoc\033[0m = \"\033[34m生成文档\033[0m\""
echo -e " \033[33mserver\033[0m = \"\033[34m运行 Zero Spec规范文档 ${PORT}\033[0m\""
if [ "doc" == "$1" ]; then
./scripts/zrun-doc-generate.sh
elif [ "server" == "$1" ]; then
./scripts/zrun-doc-server.sh ${PORT} doc-web
else
echo "Invalid input command of $1"
fi
1
https://gitee.com/silentbalanceyh/scaffold-ui.git
git@gitee.com:silentbalanceyh/scaffold-ui.git
silentbalanceyh
scaffold-ui
scaffold-ui
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891