view core/src/luan/modules/host/delete.luan @ 473:bab5607a0eed

move do_file implementation to luan
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 10 May 2015 00:25:48 -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"