Mercurial Hosting > luan
changeset 1761:e41282c4528c
add change_domain.luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 13 May 2023 22:05:51 -0600 |
parents | 13da09b5b13b |
children | 7d2297155ee3 |
files | src/luan/modules/host/change_domain.luan |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
diff -r 13da09b5b13b -r e41282c4528c src/luan/modules/host/change_domain.luan --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/luan/modules/host/change_domain.luan Sat May 13 22:05:51 2023 -0600 @@ -0,0 +1,12 @@ +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.luan old_domain new_domain password\n" + return +end + +Hosting.change_domain(...) + +print("done with "..(...))