Diff

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
line wrap: on
line diff
--- a/prosodyctl	Mon Jun 01 15:43:47 2020 +0100
+++ b/prosodyctl	Mon Jun 01 15:44:44 2020 +0100
@@ -1356,6 +1356,10 @@
 	return ok and 0 or 2;
 end
 
+function commands.shell(arg)
+	require "util.prosodyctl.shell".start(arg);
+end
+
 ---------------------
 
 local async = require "util.async";