1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 17:44:05 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-03-01 20:23:27 +08:00
parent 529f957b87
commit bd25fad239
2 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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) {