Mercurial Hosting > luan
view core/src/luan/modules/host/push.luan @ 743:2c41f2aec92f
improve Rpc and implement rpc call for local webserver
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 13 Jul 2016 17:27:35 -0600 |
parents | c92b3fabf92a |
children |
line wrap: on
line source
local Io = require "luan:Io.luan" local print = Io.print local Hosting = require "luan:host/Hosting.luan" if #{...} ~= 3 then Io.stderr.write "usage: luan luan:host/push.luan domain password dir\n" return end Hosting.push(...) print("done with "..(...))