Mercurial Hosting > luan
view src/luan/modules/host/push_file.luan @ 1802:ca98dee04e08 default tip
add Parsers.json_null
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 21 Apr 2024 21:25:15 -0600 |
parents | 0a06d59578aa |
children |
line wrap: on
line source
local Io = require "luan:Io.luan" local print = Io.print local Hosting = require "luan:host/Hosting.luan" if #{...} ~= 4 then Io.stderr.write "usage: luan luan:host/push_test.luan domain password dir file\n" return end Hosting.push_file(...) print("done with "..(...))