aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-06-01 15:44:44 +0100
committerMatthew Wild <mwild1@gmail.com>2020-06-01 15:44:44 +0100
commita355440c01d5ece456bda9c5a4f302ec82929dff (patch)
treeef5d8a653cf95ba3132c38e5cd188a66ec6f698e /prosodyctl
parentb0463f02908a21058f273aa971a1c06808a4cdd0 (diff)
downloadprosody-a355440c01d5ece456bda9c5a4f302ec82929dff.tar.gz
prosody-a355440c01d5ece456bda9c5a4f302ec82929dff.zip
prosodyctl, util.prosodyctl.shell: `prosodyctl shell` - a client to access the prosodyctl admin shell
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl4
1 files changed, 4 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index 964285a0..43ed47c3 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -1356,6 +1356,10 @@ function commands.check(arg)
return ok and 0 or 2;
end
+function commands.shell(arg)
+ require "util.prosodyctl.shell".start(arg);
+end
+
---------------------
local async = require "util.async";