iteration
This commit is contained in:
19
lum.lua
Normal file
19
lum.lua
Normal 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")
|
||||
|
||||
Reference in New Issue
Block a user