1 Star 0 Fork 0

蒙蒙的男孩/eosc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
restart.go 426 Bytes
一键复制 编辑 原始数据 按行查看 历史
蒙蒙的男孩 提交于 2024-01-10 13:49 +08:00 . 重定义项目地址
package eoscli
import (
"fmt"
"gitee.com/meng_mengs_boys/eosc/env"
"github.com/urfave/cli/v2"
)
func Restart() *cli.Command {
return &cli.Command{
Name: "restart",
Usage: fmt.Sprintf("restart %s server", env.AppName()),
Action: RestartFunc,
}
}
func RestartFunc(c *cli.Context) error {
// 先check插件版本是否存在,若不存在,则先下载插件后才能执行restart
return restartProcess()
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/meng_mengs_boys/eosc.git
git@gitee.com:meng_mengs_boys/eosc.git
meng_mengs_boys
eosc
eosc
v1.15.7

搜索帮助