1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-25 16:58:06 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-08-10 21:28:00 +08:00
parent 7d415f29d0
commit 0677a84dff
5 changed files with 22 additions and 2 deletions

View File

@ -4,3 +4,5 @@ spark `Contexts 是一个工具系统,基于 Contexts 可以开发出更多的
source mysql.shy
source redis.shy
source docker.shy
source golang.shy

View 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
`

View File

View 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
`

View File

@ -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"}}{}) }