forked from x/icebergs
del docker
This commit is contained in:
parent
edeae0027f
commit
9300ce5da4
@ -120,7 +120,6 @@ replace github.com/shylinux/icebergs => ./usr/icebergs
|
||||
## 6 其它模块 misc/
|
||||
### 6.1 终端管理 misc/zsh/
|
||||
### 6.1 终端管理 misc/tmux/
|
||||
### 6.1 容器管理 misc/docker/
|
||||
### 6.1 代码管理 misc/git/
|
||||
### 6.1 代码管理 misc/vim/
|
||||
### 6.1 公众号 misc/mp/
|
||||
|
@ -1,11 +1,11 @@
|
||||
package input
|
||||
|
||||
import (
|
||||
"github.com/shylinux/icebergs"
|
||||
ice "github.com/shylinux/icebergs"
|
||||
"github.com/shylinux/icebergs/base/cli"
|
||||
"github.com/shylinux/icebergs/base/web"
|
||||
"github.com/shylinux/icebergs/core/code"
|
||||
"github.com/shylinux/toolkits"
|
||||
kit "github.com/shylinux/toolkits"
|
||||
"github.com/shylinux/toolkits/task"
|
||||
|
||||
"bufio"
|
||||
@ -188,10 +188,10 @@ const (
|
||||
WEIGHT = "weight"
|
||||
)
|
||||
|
||||
var Index = &ice.Context{Name: "input", Help: "输入法",
|
||||
var Index = &ice.Context{Name: INPUT, Help: "输入法",
|
||||
Configs: map[string]*ice.Config{
|
||||
INPUT: {Name: "input", Help: "输入法", Value: kit.Data(
|
||||
"repos", "wubi-dict", "local", "person",
|
||||
INPUT: {Name: INPUT, Help: "输入法", Value: kit.Data(
|
||||
"repos", "wubi-dict",
|
||||
kit.MDB_STORE, "usr/export/input", kit.MDB_FSIZE, "200000",
|
||||
kit.MDB_LIMIT, "5000", kit.MDB_LEAST, "1000",
|
||||
kit.MDB_SHORT, "zone",
|
||||
|
@ -1,7 +1,6 @@
|
||||
package misc
|
||||
|
||||
import (
|
||||
_ "github.com/shylinux/icebergs/misc/docker"
|
||||
_ "github.com/shylinux/icebergs/misc/git"
|
||||
_ "github.com/shylinux/icebergs/misc/tmux"
|
||||
_ "github.com/shylinux/icebergs/misc/vim"
|
||||
|
@ -351,10 +351,6 @@ var Index = &ice.Context{Name: TMUX, Help: "工作台",
|
||||
}
|
||||
}},
|
||||
|
||||
"local": {Name: "local name name", Help: "虚拟机", Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
||||
m.Cmd("web.code.docker.auto", arg[1])
|
||||
m.Cmdy(_tmux, "send-keys", "-t", arg[1], "docker exec -it ", arg[1], " bash", "Enter")
|
||||
}},
|
||||
"relay": {Name: "relay [name [favor]]", Help: "跳板机", Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
||||
if len(arg) == 0 {
|
||||
// 认证列表
|
||||
|
Loading…
x
Reference in New Issue
Block a user