Mercurial Hosting > luan
comparison core/src/luan/modules/host/push.luan @ 731:c92b3fabf92a
minor
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Fri, 10 Jun 2016 15:50:05 -0600 |
| parents | ca169567ce07 |
| children |
comparison
equal
deleted
inserted
replaced
| 730:01e68da6983b | 731:c92b3fabf92a |
|---|---|
| 1 local Io = require "luan:Io.luan" | 1 local Io = require "luan:Io.luan" |
| 2 local print = Io.print | 2 local print = Io.print |
| 3 local Hosting = require "luan:host/Hosting.luan" | 3 local Hosting = require "luan:host/Hosting.luan" |
| 4 | 4 |
| 5 if #{...} ~= 3 then | 5 if #{...} ~= 3 then |
| 6 Io.stderr.write "usage: luan luan:host/push domain password dir\n" | 6 Io.stderr.write "usage: luan luan:host/push.luan domain password dir\n" |
| 7 return | 7 return |
| 8 end | 8 end |
| 9 | 9 |
| 10 Hosting.push(...) | 10 Hosting.push(...) |
| 11 | 11 |
