forked from x/icebergs
opt inner.js
This commit is contained in:
parent
298d1ac6f2
commit
fdc1b5420a
@ -103,6 +103,7 @@ func init() {
|
||||
m.Set(ice.MSG_STATUS)
|
||||
return
|
||||
}
|
||||
m.Option("plug", "inner/search.js?a=1,inner/favor.js,inner/sess.js")
|
||||
arg[1] = kit.Split(arg[1])[0]
|
||||
_inner_list(m, kit.Ext(arg[1]), arg[1], arg[0])
|
||||
m.Set(ice.MSG_STATUS)
|
||||
|
@ -26,7 +26,7 @@ func init() {
|
||||
),
|
||||
)},
|
||||
}, Commands: map[string]*ice.Command{
|
||||
TOTAL: {Name: "total name auto pie", Help: "统计量", Action: map[string]*ice.Action{
|
||||
TOTAL: {Name: "total repos auto pie", Help: "统计量", Action: map[string]*ice.Action{
|
||||
PIE: {Name: "pie", Help: "饼图", Hand: func(m *ice.Message, arg ...string) {
|
||||
defer m.Display("/plugin/story/pie.js")
|
||||
m.Cmd(TOTAL).Table(func(index int, value map[string]string, head []string) {
|
||||
|
@ -12,7 +12,7 @@ const TREND = "trend"
|
||||
|
||||
func init() {
|
||||
Index.Merge(&ice.Context{Commands: map[string]*ice.Command{
|
||||
TREND: {Name: "trend name begin_time@date auto", Help: "趋势图", Meta: kit.Dict(
|
||||
TREND: {Name: "trend repos begin_time@date auto", Help: "趋势图", Meta: kit.Dict(
|
||||
ice.Display("/plugin/story/trend.js"),
|
||||
), Action: ice.MergeAction(map[string]*ice.Action{
|
||||
mdb.INPUTS: {Name: "inputs", Help: "补全", Hand: func(m *ice.Message, arg ...string) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user