iteration

This commit is contained in:
2023-10-08 04:04:21 -04:00
parent c9e6e5d229
commit f0233a640d
13 changed files with 130 additions and 111 deletions

19
lum.lua Normal file
View File

@@ -0,0 +1,19 @@
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")