mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
opt some
This commit is contained in:
parent
7d415f29d0
commit
0677a84dff
@ -4,3 +4,5 @@ spark `Contexts 是一个工具系统,基于 Contexts 可以开发出更多的
|
||||
|
||||
source mysql.shy
|
||||
source redis.shy
|
||||
source docker.shy
|
||||
source golang.shy
|
||||
|
9
src/document/resources/docker.shy
Normal file
9
src/document/resources/docker.shy
Normal file
@ -0,0 +1,9 @@
|
||||
chapter "docker-story"
|
||||
brief `基于 Contexts 开发的,Docker 管理工具,包括客户端、安装器、集群管理工具等。`
|
||||
table `
|
||||
模块 命令 功能
|
||||
`
|
||||
shell `
|
||||
git clone https://shylinux.com/x/docker-story
|
||||
cd docker-story; source etc/miss.sh
|
||||
`
|
0
src/document/resources/golang-story.shy
Normal file
0
src/document/resources/golang-story.shy
Normal file
9
src/document/resources/golang.shy
Normal file
9
src/document/resources/golang.shy
Normal file
@ -0,0 +1,9 @@
|
||||
chapter "golang-story"
|
||||
brief `基于 Contexts 开发的,Golang 管理工具,包括客户端、安装器、集群管理工具等。`
|
||||
table `
|
||||
模块 命令 功能
|
||||
`
|
||||
shell `
|
||||
git clone https://shylinux.com/x/golang-story
|
||||
cd golang-story; source etc/miss.sh
|
||||
`
|
@ -5,11 +5,11 @@ import (
|
||||
)
|
||||
|
||||
type {{.Option "name"}} struct {
|
||||
list string `name:"list path auto" help:"示例"`
|
||||
list string `name:"list name auto" help:"示例"`
|
||||
}
|
||||
|
||||
func (s {{.Option "name"}}) List(m *ice.Message, arg ...string) {
|
||||
m.Echo("hello world")
|
||||
}
|
||||
|
||||
func init() { ice.Cmd("{{.Option "key"}}", {{.Option "name"}}{}) }
|
||||
func init() { ice.CodeModCmd({{.Option "name"}}{}) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user