Mercurial Hosting > luan
comparison src/luan/modules/host/change_domain.luan @ 1761:e41282c4528c
add change_domain.luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 13 May 2023 22:05:51 -0600 |
parents | src/luan/modules/host/push.luan@1a68fc55a80c |
children |
comparison
equal
deleted
inserted
replaced
1760:13da09b5b13b | 1761:e41282c4528c |
---|---|
1 local Io = require "luan:Io.luan" | |
2 local print = Io.print | |
3 local Hosting = require "luan:host/Hosting.luan" | |
4 | |
5 if #{...} ~= 3 then | |
6 Io.stderr.write "usage: luan luan:host/push.luan old_domain new_domain password\n" | |
7 return | |
8 end | |
9 | |
10 Hosting.change_domain(...) | |
11 | |
12 print("done with "..(...)) |