示例#1
0
文件: main.go 项目: matomesc/rkt
func main() {
	if len(os.Args) > 1 && os.Args[1] == "daemon" {
		runDaemon()
	} else {
		skel.PluginMain(cmdAdd, cmdDel)
	}
}
示例#2
0
func main() {
	skel.PluginMain(cmdAdd, cmdDel)
}