first commit

This commit is contained in:
alex
2025-06-22 11:32:11 +03:00
commit d3b2944cd8
18 changed files with 519 additions and 0 deletions

16
com/exec.lua Normal file
View File

@@ -0,0 +1,16 @@
if not Params.f then
Result.status = "error"
Result.error = "Missing parameter: f"
return
end
local code = os.execute("touch " .. Params.f)
if code ~= 0 then
Result.status = "error"
Result.message = "Failed to execute command"
return
end
Result.status = "ok"
Result.message = "Command executed successfully"