2023-10-08 10:04:21 +02:00
|
|
|
local args = { ... }
|
|
|
|
|
|
|
|
local action = args[1]
|
|
|
|
if action == nil then
|
|
|
|
print("Usage: lum <install:remove>")
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if action == "install" then
|
|
|
|
package = args[2]
|
|
|
|
if package == nil then
|
|
|
|
print("Usage: lum install <package>")
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
lum.install(package)
|
|
|
|
io.write("Done!\n")
|
2023-10-08 10:12:29 +02:00
|
|
|
end
|