Mercurial Hosting > luan
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/src/luan/modules/host/push.luan Sun Apr 12 08:35:23 2015 -0600 @@ -0,0 +1,12 @@ +local Io = require "luan:Io" +local print = Io.print +local Hosting = require "luan:host/Hosting" + +if #{...} ~= 3 then + Io.stderr.write "usage: luan luan:host/push domain password dir\n" + return +end + +Hosting.push(...) + +print "done"