forked from x/ContextOS
opt some
This commit is contained in:
parent
5f2b2b20c1
commit
edde076709
@ -14,6 +14,6 @@
|
||||
event action listen event dream.create cmd web.code.tmux.session
|
||||
|
||||
~ssh
|
||||
target web.code
|
||||
target web.team
|
||||
source local.shy
|
||||
|
||||
|
18
src/h1/h1.go
18
src/h1/h1.go
@ -1,18 +0,0 @@
|
||||
package h1
|
||||
|
||||
import (
|
||||
"shylinux.com/x/ice"
|
||||
)
|
||||
|
||||
type h1 struct {
|
||||
ice.Hash
|
||||
|
||||
list string `name:"list hash id auto create" help:"数据"`
|
||||
}
|
||||
|
||||
func (h h1) List(m *ice.Message, arg ...string) {
|
||||
h.Hash.List(m, arg...)
|
||||
}
|
||||
|
||||
func init() { ice.Cmd("web.code.h1.h1.go", h1{}) }
|
||||
|
17
src/hi/hi.go
17
src/hi/hi.go
@ -1,17 +0,0 @@
|
||||
package hi
|
||||
|
||||
import (
|
||||
"shylinux.com/x/ice"
|
||||
)
|
||||
|
||||
type hi struct {
|
||||
ice.Zone
|
||||
|
||||
list string `name:"hi zone id auto insert" help:"hi"`
|
||||
}
|
||||
|
||||
func (h hi) List(m *ice.Message, arg ...string) {
|
||||
h.Zone.List(m, arg...)
|
||||
}
|
||||
|
||||
func init() { ice.Cmd("web.code.hi.hi", hi{}) }
|
@ -1,3 +0,0 @@
|
||||
chapter "hi"
|
||||
|
||||
field "hi" web.code.hi.hi
|
@ -1,10 +1,6 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
_ "shylinux.com/x/contexts/src/h1"
|
||||
|
||||
_ "shylinux.com/x/contexts/src/hi"
|
||||
|
||||
"shylinux.com/x/ice"
|
||||
|
||||
_ "shylinux.com/x/icebergs/misc/alpha"
|
||||
|
@ -35,6 +35,6 @@ section "神农架"
|
||||
field "趋势图" web.code.git.trend args `intshell`
|
||||
field "架构图" web.code.git.spide args `intshell`
|
||||
|
||||
spark `
|
||||
spark shell `
|
||||
find . -name "*.css" -exec sed -i 's/: /:/g' {} +
|
||||
`
|
||||
|
Loading…
x
Reference in New Issue
Block a user