improved get
This commit is contained in:
parent
3eedbc3b62
commit
61303835f7
9
get
9
get
@ -1,6 +1,15 @@
|
|||||||
-- utility to download files from the git repo
|
-- utility to download files from the git repo
|
||||||
|
|
||||||
|
local function printUsage()
|
||||||
|
print("Usage:")
|
||||||
|
print("get <filename>")
|
||||||
|
end
|
||||||
|
|
||||||
local args = { ... }
|
local args = { ... }
|
||||||
|
if #args < 1 then
|
||||||
|
printUsage()
|
||||||
|
return
|
||||||
|
end
|
||||||
local file = args[1]
|
local file = args[1]
|
||||||
|
|
||||||
shell.run("rm", file)
|
shell.run("rm", file)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user