Mercurial Hosting > luan
comparison core/src/luan/modules/host/push.luan @ 348:6fd016d35ec1 0.2
improve Hosting and fix mmake
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 12 Apr 2015 08:35:23 -0600 |
parents | |
children | 252041bc41b5 |
comparison
equal
deleted
inserted
replaced
347:612a283b3d14 | 348:6fd016d35ec1 |
---|---|
1 local Io = require "luan:Io" | |
2 local print = Io.print | |
3 local Hosting = require "luan:host/Hosting" | |
4 | |
5 if #{...} ~= 3 then | |
6 Io.stderr.write "usage: luan luan:host/push domain password dir\n" | |
7 return | |
8 end | |
9 | |
10 Hosting.push(...) | |
11 | |
12 print "done" |