view src/luan/modules/host/change_domain.luan @ 1992:ac02e07f09de default tip

add config
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 01 Jul 2025 15:14:26 -0600
parents 8020dd486ae3
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/change_domain.luan old_domain new_domain password\n"
	return
end

Hosting.change_domain(...)

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