summaryrefslogtreecommitdiff
path: root/xmake/plugins/service/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-04-12 22:41:15 +0800
committerruki <[email protected]>2022-04-12 22:41:15 +0800
commit1ef23a02096321059a14afd8b6bc38eeb3b3d282 (patch)
tree8bb1c46f0ebbad9858d4fa659d69035f639575a8 /xmake/plugins/service/main.lua
parent8f1db2b9b2df2b7223fb2878a1dc7d8cf7b1adfd (diff)
clean files in server
Diffstat (limited to 'xmake/plugins/service/main.lua')
-rw-r--r--xmake/plugins/service/main.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/plugins/service/main.lua b/xmake/plugins/service/main.lua
index 660903412..82c7cd7b8 100644
--- a/xmake/plugins/service/main.lua
+++ b/xmake/plugins/service/main.lua
@@ -27,6 +27,7 @@ import("private.service.stop_service")
import("private.service.connect_service")
import("private.service.reconnect_service")
import("private.service.disconnect_service")
+import("private.service.clean_files")
import("private.service.import_config")
import("private.service.show_logs")
import("private.service.show_status")
@@ -46,6 +47,8 @@ function main()
reconnect_service()
elseif option.get("disconnect") then
disconnect_service()
+ elseif option.get("clean") then
+ clean_files()
elseif option.get("config") then
import_config()
elseif option.get("logs") then