view core/src/luan/modules/host/push.luan @ 693:ca169567ce07

module URIs must now include ".luan"
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 19 Apr 2016 15:54:11 -0600
parents 252041bc41b5
children c92b3fabf92a
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 domain password dir\n"
	return
end

Hosting.push(...)

print("done with "..(...))