Mercurial Hosting > luan
comparison src/luan/modules/host/push.luan @ 775:1a68fc55a80c
simplify dir structure
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 26 Aug 2016 14:36:40 -0600 |
parents | core/src/luan/modules/host/push.luan@c92b3fabf92a |
children |
comparison
equal
deleted
inserted
replaced
774:3e30cf310e56 | 775:1a68fc55a80c |
---|---|
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 domain password dir\n" | |
7 return | |
8 end | |
9 | |
10 Hosting.push(...) | |
11 | |
12 print("done with "..(...)) |