prosodyctl: Added the 'admin_add' command
authorJoão Duarte <jvsDuarte08@gmail.com>
Tue, 25 Jun 2019 12:02:37 +0100
changeset 10134 667f37603308
parent 10133 406afedc9375
child 10135 0780bcf51ba7
prosodyctl: Added the 'admin_add' command
prosodyctl
--- a/prosodyctl	Tue Jun 25 00:52:12 2019 +0100
+++ b/prosodyctl	Tue Jun 25 12:02:37 2019 +0100
@@ -114,6 +114,10 @@
   os.execute("luarocks-admin "..tree..operation..server..refresh..modules)
 end
 
+function commands.admin_add(arg)
+  admin_operation("add ", arg)
+end
+
 function commands.enabled_plugins()
 	for module in modulemanager.get_modules_for_host() do
 		show_warning("%s", module)