view core/src/luan/modules/host/push.luan @ 379:e9e445e28f0b

add error checking to Hosting
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 20 Apr 2015 12:24:54 -0600
parents 6fd016d35ec1
children 252041bc41b5
line wrap: on
line source

local Io = require "luan:Io"
local print = Io.print
local Hosting = require "luan:host/Hosting"

if #{...} ~= 3 then
	Io.stderr.write "usage: luan luan:host/push domain password dir\n"
	return
end

Hosting.push(...)

print "done"