summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pm.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/pm.lua b/pm.lua
new file mode 100644
index 0000000..ff2bef6
--- /dev/null
+++ b/pm.lua
@@ -0,0 +1,7 @@
+local function dl(filename)
+ local file=fs.open("/"..filename..".lua")
+ local res = http.get("https://g.gh0.pw/ccprogs/plain/"..filename..".lua")
+ file.write(res.readAll())
+end
+
+dl(arg[1])