improved get

This commit is contained in:
navid.sassan 2021-01-09 03:33:06 +01:00
parent 3eedbc3b62
commit 61303835f7

9
get
View File

@ -1,6 +1,15 @@
-- utility to download files from the git repo
local function printUsage()
print("Usage:")
print("get <filename>")
end
local args = { ... }
if #args < 1 then
printUsage()
return
end
local file = args[1]
shell.run("rm", file)