Software / code / prosody
Comparison
prosodyctl @ 10858:efa49d484560
prosodyctl, util.prosodyctl.shell: `prosodyctl shell` - a client to access the prosodyctl admin shell
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Mon, 01 Jun 2020 15:44:44 +0100 |
| parent | 10629:eed5811941b2 |
| child | 10871:e5dee71d0ebb |
comparison
equal
deleted
inserted
replaced
| 10857:826023c3322b | 10858:efa49d484560 |
|---|---|
| 1354 print("All checks passed, congratulations!"); | 1354 print("All checks passed, congratulations!"); |
| 1355 end | 1355 end |
| 1356 return ok and 0 or 2; | 1356 return ok and 0 or 2; |
| 1357 end | 1357 end |
| 1358 | 1358 |
| 1359 function commands.shell(arg) | |
| 1360 require "util.prosodyctl.shell".start(arg); | |
| 1361 end | |
| 1362 | |
| 1359 --------------------- | 1363 --------------------- |
| 1360 | 1364 |
| 1361 local async = require "util.async"; | 1365 local async = require "util.async"; |
| 1362 local server = require "net.server"; | 1366 local server = require "net.server"; |
| 1363 local watchers = { | 1367 local watchers = { |