mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
opt some
This commit is contained in:
parent
5b0ce2fc2b
commit
a3575a65e9
1
conf.go
1
conf.go
@ -24,6 +24,7 @@ const ( // DIR
|
||||
USR_VOLCANOS = "usr/volcanos"
|
||||
USR_INTSHELL = "usr/intshell"
|
||||
USR_PUBLISH = "usr/publish"
|
||||
USR_INSTALL = "usr/install"
|
||||
USR_LOCAL = "usr/local"
|
||||
|
||||
PROTO_JS = "proto.js"
|
||||
|
@ -1,6 +1,10 @@
|
||||
package code
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path"
|
||||
"strings"
|
||||
|
||||
ice "github.com/shylinux/icebergs"
|
||||
"github.com/shylinux/icebergs/base/aaa"
|
||||
"github.com/shylinux/icebergs/base/cli"
|
||||
@ -10,10 +14,6 @@ import (
|
||||
"github.com/shylinux/icebergs/base/tcp"
|
||||
"github.com/shylinux/icebergs/base/web"
|
||||
kit "github.com/shylinux/toolkits"
|
||||
|
||||
"os"
|
||||
"path"
|
||||
"strings"
|
||||
)
|
||||
|
||||
const PREPARE = "prepare"
|
||||
@ -23,8 +23,7 @@ func init() {
|
||||
Index.Merge(&ice.Context{
|
||||
Configs: map[string]*ice.Config{
|
||||
INSTALL: {Name: INSTALL, Help: "安装", Value: kit.Data(
|
||||
kit.MDB_SHORT, kit.MDB_NAME, kit.MDB_PATH, "usr/install",
|
||||
kit.MDB_FIELD, "time,step,size,total,name,link",
|
||||
kit.MDB_SHORT, kit.MDB_NAME, kit.MDB_PATH, ice.USR_INSTALL,
|
||||
)},
|
||||
},
|
||||
Commands: map[string]*ice.Command{
|
||||
|
Loading…
x
Reference in New Issue
Block a user