1
0
forked from x/icebergs
icebergs/misc/chrome/page.go
2022-01-02 22:02:27 +08:00

28 lines
517 B
Go

package chrome
import (
"shylinux.com/x/ice"
"shylinux.com/x/icebergs/base/mdb"
)
type page struct {
operate
style
field
list string `name:"list zone auto" help:"网页" http:"/page"`
}
func (p page) Command(m *ice.Message, arg ...string) {
m.Cmdy(p.style.Command, arg)
m.Cmdy(p.field.Command, arg)
}
func (p page) Run(m *ice.Message, arg ...string) {
m.Cmdy(p.field.Run, arg)
}
func (p page) List(m *ice.Message, arg ...string) {
p.operate.Inputs(m, mdb.ZONE)
}
func init() { ice.CodeCtxCmd(page{}) }