1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-28 02:02:02 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-06-12 10:01:05 +08:00
parent 0c1a0a2f06
commit 2e0f074e20

View File

@ -576,6 +576,7 @@ func init() {
}, aaa.RoleAction(REMOTE), web.DreamAction(), mdb.ClearOnExitHashAction(), mdb.HashAction(mdb.SHORT, REPOS, mdb.FIELD, "time,repos,branch,version,comment,origin")), Hand: func(m *ice.Message, arg ...string) {
if len(arg) == 0 {
mdb.HashSelect(m, arg...).Sort(REPOS).Action(CLONE, PULL, PUSH, STATUS)
m.PushAction(STATUS, mdb.REMOVE)
m.Echo(strings.ReplaceAll(m.Cmdx(code.PUBLISH, ice.CONTEXTS), "app username", "dev username"))
} else if len(arg) == 1 {
_repos_branch(m, _repos_open(m, arg[0]))