mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
opt some
This commit is contained in:
parent
3a42c0aff2
commit
0d9931c1fb
@ -97,6 +97,10 @@ func init() {
|
||||
_xterm_get(m, kit.Select("", arg, 0)).Write("cd ~/contexts; tail -f var/log/bench.log" + ice.NL)
|
||||
ctx.ProcessHold(m)
|
||||
}},
|
||||
"proxy": {Help: "代理", Hand: func(m *ice.Message, arg ...string) {
|
||||
_xterm_get(m, kit.Select("", arg, 0)).Write(kit.Format(`git config --global url."%s".insteadOf "https://shylinux.com"`, m.Option(ice.MSG_USERHOST))+ice.NL)
|
||||
ctx.ProcessHold(m)
|
||||
}},
|
||||
INSTALL: {Help: "安装", Hand: func(m *ice.Message, arg ...string) {
|
||||
_xterm_get(m, kit.Select("", arg, 0)).Write(m.Cmdx(PUBLISH, ice.CONTEXTS, INSTALL) + ice.NL)
|
||||
ctx.ProcessHold(m)
|
||||
@ -107,7 +111,7 @@ func init() {
|
||||
m.PushAction(web.WEBSITE, mdb.REMOVE).Action(mdb.CREATE, mdb.PRUNES)
|
||||
} else {
|
||||
ctx.Toolkit(m, FAVOR, "web.chat.iframe")
|
||||
m.Action(INSTALL, "debug", "波浪线", "反引号")
|
||||
m.Action(INSTALL, "debug", "proxy", "波浪线", "反引号")
|
||||
ctx.DisplayLocal(m, "")
|
||||
}
|
||||
}},
|
||||
|
Loading…
x
Reference in New Issue
Block a user