view core/src/luan/modules/host/delete.luan @ 574:6cc2f047019b

remove LuanState.call()
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 13 Jul 2015 12:31:53 -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 #{...} ~= 2 then
	Io.stderr.write "usage: luan luan:host/delete domain password\n"
	return
end

Hosting.delete(...)

print "done"