mirror of
https://shylinux.com/x/icebergs
synced 2025-04-28 18:22:02 +08:00
add some
This commit is contained in:
parent
8ea2beab9d
commit
1a4add15bb
@ -65,10 +65,12 @@ func _publish_contexts(m *ice.Message, arg ...string) {
|
|||||||
const PUBLISH = "publish"
|
const PUBLISH = "publish"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
Index.MergeCommands(ice.Commands{
|
web.Index.MergeCommands(ice.Commands{
|
||||||
web.PP(ice.PUBLISH): {Actions: aaa.WhiteAction(), Hand: func(m *ice.Message, arg ...string) {
|
web.PP(ice.PUBLISH): {Actions: aaa.WhiteAction(), Hand: func(m *ice.Message, arg ...string) {
|
||||||
web.ShareLocalFile(m, ice.USR_PUBLISH, path.Join(arg...))
|
web.ShareLocalFile(m, ice.USR_PUBLISH, path.Join(arg...))
|
||||||
}},
|
}},
|
||||||
|
})
|
||||||
|
Index.MergeCommands(ice.Commands{
|
||||||
PUBLISH: {Name: "publish path auto create volcanos icebergs intshell", Help: "发布", Actions: ice.MergeActions(ice.Actions{
|
PUBLISH: {Name: "publish path auto create volcanos icebergs intshell", Help: "发布", Actions: ice.MergeActions(ice.Actions{
|
||||||
ice.VOLCANOS: {Help: "火山架", Hand: func(m *ice.Message, arg ...string) { _publish_list(m, kit.ExtReg(HTML, CSS, JS)) }},
|
ice.VOLCANOS: {Help: "火山架", Hand: func(m *ice.Message, arg ...string) { _publish_list(m, kit.ExtReg(HTML, CSS, JS)) }},
|
||||||
ice.ICEBERGS: {Help: "冰山架", Hand: func(m *ice.Message, arg ...string) { _publish_bin_list(m).Cmdy("", ice.CONTEXTS) }},
|
ice.ICEBERGS: {Help: "冰山架", Hand: func(m *ice.Message, arg ...string) { _publish_bin_list(m).Cmdy("", ice.CONTEXTS) }},
|
||||||
|
@ -125,7 +125,7 @@ const WEBPACK = "webpack"
|
|||||||
func init() {
|
func init() {
|
||||||
Index.MergeCommands(ice.Commands{
|
Index.MergeCommands(ice.Commands{
|
||||||
WEBPACK: {Name: "webpack path auto create remove", Help: "打包", Actions: ice.MergeActions(ice.Actions{
|
WEBPACK: {Name: "webpack path auto create remove", Help: "打包", Actions: ice.MergeActions(ice.Actions{
|
||||||
mdb.CREATE: {Hand: func(m *ice.Message, arg ...string) {
|
mdb.CREATE: {Name: "create path", Hand: func(m *ice.Message, arg ...string) {
|
||||||
_webpack_cache(m.Spawn(), _volcanos(m), true)
|
_webpack_cache(m.Spawn(), _volcanos(m), true)
|
||||||
// _webpack_can(m)
|
// _webpack_can(m)
|
||||||
m.Cmdy("")
|
m.Cmdy("")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user