forked from x/icebergs
opt some
This commit is contained in:
parent
b1e015f486
commit
0761dd149c
@ -151,9 +151,9 @@ func init() {
|
|||||||
)},
|
)},
|
||||||
},
|
},
|
||||||
Commands: map[string]*ice.Command{
|
Commands: map[string]*ice.Command{
|
||||||
INNER: {Name: "inner path=usr/demo file=hi.qrc key auto", Help: "编辑器", Meta: map[string]interface{}{
|
INNER: {Name: "inner path=usr/demo file=hi.qrc line=1 auto", Help: "编辑器", Meta: kit.Dict(
|
||||||
"display": "/plugin/local/code/inner.js", "style": "editor",
|
"display", "/plugin/local/code/inner.js", "style", "editor",
|
||||||
}, Action: map[string]*ice.Action{
|
), Action: map[string]*ice.Action{
|
||||||
"cmd": {Name: "cmd arg", Help: "命令", Hand: func(m *ice.Message, arg ...string) {
|
"cmd": {Name: "cmd arg", Help: "命令", Hand: func(m *ice.Message, arg ...string) {
|
||||||
if m.Cmdy(kit.Split(arg[0])); !m.Hand {
|
if m.Cmdy(kit.Split(arg[0])); !m.Hand {
|
||||||
m.Cmdy(cli.SYSTEM, kit.Split(arg[0]))
|
m.Cmdy(cli.SYSTEM, kit.Split(arg[0]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user