1
0
forked from x/icebergs
icebergs/misc/node/npm.go
2023-05-22 23:24:41 +08:00

18 lines
258 B
Go

package node
import (
"shylinux.com/x/ice"
"shylinux.com/x/icebergs/base/nfs"
)
type npm struct {
ice.Code
list string `name:"list auto"`
}
func (s npm) List(m *ice.Message) {
m.Cmdy(nfs.DIR, ice.USR_MODULES)
}
func init() { ice.CodeCtxCmd(npm{}) }