mirror of
https://shylinux.com/x/icebergs
synced 2025-06-26 18:37:29 +08:00
opt some
This commit is contained in:
parent
5ead60e082
commit
cfa38829d0
@ -41,6 +41,9 @@ var Index = &ice.Context{Name: "git", Help: "代码库",
|
|||||||
"total": {Name: "total", Help: "统计", Value: kit.Data(kit.MDB_SHORT, "name", "skip", kit.Dict("wubi-dict", "true", "word-dict", "true"))},
|
"total": {Name: "total", Help: "统计", Value: kit.Data(kit.MDB_SHORT, "name", "skip", kit.Dict("wubi-dict", "true", "word-dict", "true"))},
|
||||||
},
|
},
|
||||||
Commands: map[string]*ice.Command{
|
Commands: map[string]*ice.Command{
|
||||||
|
ice.WEB_LOGIN: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
||||||
|
}},
|
||||||
|
|
||||||
ice.CODE_INSTALL: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
ice.CODE_INSTALL: {Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
||||||
m.Option("cmd_dir", m.Conf("install", "meta.path"))
|
m.Option("cmd_dir", m.Conf("install", "meta.path"))
|
||||||
m.Cmd(ice.CLI_SYSTEM, "git", "clone", m.Conf("git", "meta.source"))
|
m.Cmd(ice.CLI_SYSTEM, "git", "clone", m.Conf("git", "meta.source"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user