Diff

prosodyctl @ 10122:95814c597836

prosodyctl: Created a custom function, 'test', that prints back a welcoming message
author João Duarte <jvsDuarte08@gmail.com>
date Fri, 07 Jun 2019 11:36:13 +0100
parent 9992:9d6baacdd8e6
child 10123:5d132d4aac55
line wrap: on
line diff
--- a/prosodyctl	Mon Jun 03 20:51:15 2019 +0200
+++ b/prosodyctl	Fri Jun 07 11:36:13 2019 +0100
@@ -85,6 +85,10 @@
 local commands = {};
 local command = table.remove(arg, 1);
 
+function commands.test()
+	show_message [[Well, hello there!]]
+end
+
 function commands.adduser(arg)
 	if not arg[1] or arg[1] == "--help" then
 		show_usage([[adduser JID]], [[Create the specified user account in Prosody]]);