mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 17:44:05 +08:00
opt some
This commit is contained in:
parent
529f957b87
commit
bd25fad239
@ -147,7 +147,7 @@ func init() {
|
|||||||
}
|
}
|
||||||
}},
|
}},
|
||||||
SERVER: {Name: "server repos branch commit path auto create import", Help: "源代码", Actions: ice.MergeActions(ice.Actions{
|
SERVER: {Name: "server repos branch commit path auto create import", Help: "源代码", Actions: ice.MergeActions(ice.Actions{
|
||||||
mdb.CREATE: {Name: "create name*", Hand: func(m *ice.Message, arg ...string) {
|
mdb.CREATE: {Name: "create name*=demo", Hand: func(m *ice.Message, arg ...string) {
|
||||||
_repos_init(m, path.Join(ice.USR_LOCAL_REPOS, m.Option(mdb.NAME)))
|
_repos_init(m, path.Join(ice.USR_LOCAL_REPOS, m.Option(mdb.NAME)))
|
||||||
}},
|
}},
|
||||||
mdb.IMPORT: {Hand: func(m *ice.Message, arg ...string) {
|
mdb.IMPORT: {Hand: func(m *ice.Message, arg ...string) {
|
||||||
|
@ -200,9 +200,9 @@ func init() {
|
|||||||
case VERSION, TAGS:
|
case VERSION, TAGS:
|
||||||
m.Push(VERSION, _status_tag(m, m.Option(TAGS)))
|
m.Push(VERSION, _status_tag(m, m.Option(TAGS)))
|
||||||
case aaa.EMAIL:
|
case aaa.EMAIL:
|
||||||
m.Push(arg[0], _configs_get(m, USER_EMAIL))
|
m.Push(arg[0], _configs_get(m, USER_EMAIL), ice.Info.Make.Email)
|
||||||
case aaa.USERNAME:
|
case aaa.USERNAME:
|
||||||
m.Push(arg[0], kit.Select(m.Option(ice.MSG_USERNAME), _configs_get(m, USER_NAME)))
|
m.Push(arg[0], kit.Select(m.Option(ice.MSG_USERNAME), _configs_get(m, USER_NAME)), ice.Info.Make.Username)
|
||||||
}
|
}
|
||||||
}},
|
}},
|
||||||
CONFIGS: {Name: "configs email username", Help: "配置", Hand: func(m *ice.Message, arg ...string) {
|
CONFIGS: {Name: "configs email username", Help: "配置", Hand: func(m *ice.Message, arg ...string) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user