mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 09:34:05 +08:00
opt some
This commit is contained in:
parent
178008f78a
commit
4278590cd2
@ -86,6 +86,7 @@ func init() {
|
|||||||
m.Cmdy(kit.Simple(kit.Keys(msg.Append(kit.KeyExtra(ice.CTX)), msg.Append(kit.KeyExtra(ice.CMD))), arg[2:]))
|
m.Cmdy(kit.Simple(kit.Keys(msg.Append(kit.KeyExtra(ice.CTX)), msg.Append(kit.KeyExtra(ice.CMD))), arg[2:]))
|
||||||
}},
|
}},
|
||||||
}, TASK), Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
}, TASK), Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
||||||
|
arg = kit.Slice(arg, 0, 2)
|
||||||
begin_time, end_time := _plan_scope(m, 8, arg...)
|
begin_time, end_time := _plan_scope(m, 8, arg...)
|
||||||
_plan_list(m, begin_time, end_time)
|
_plan_list(m, begin_time, end_time)
|
||||||
m.PushPodCmd(cmd, arg...)
|
m.PushPodCmd(cmd, arg...)
|
||||||
|
@ -24,7 +24,7 @@ func init() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
arg[0] = kit.Replace(arg[0], "src", "contexts")
|
arg[0] = kit.Replace(arg[0], "src", "contexts")
|
||||||
m.Cmdy(TOTAL, arg)
|
m.Cmdy(TOTAL, kit.Slice(arg, 0, 2))
|
||||||
}},
|
}},
|
||||||
}})
|
}})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user