Software /
code /
prosody
Annotate
TODO @ 11423:0a10bb3b129b
util.prosodyctl.shell: Allow passing a single command as argument
Test procedure:
$ prosodyctl shell 'server:version()'
Expect:
> OK: hg:926d53af9a7a
$ prosodyctl shell 'server:version()' 'hello'
Expect:
> Only one command is supported as argument
$ prosodyctl shell 'lorem ipsum'; echo $?
Expect:
> Sorry, I couldn't understand that... console:1: syntax error near 'show'
> 1 (error code)
Thanks Menel for mentioning the feature
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 05 Mar 2021 13:02:37 +0100 |
parent | 9803:35ef6af41600 |
rev | line source |
---|---|
5405 | 1 == 1.0 == |
4138
62f5e6b11571
TODO: Update for 0.9 milestones
Matthew Wild <mwild1@gmail.com>
parents:
4134
diff
changeset
|
2 - Roster providers |
62f5e6b11571
TODO: Update for 0.9 milestones
Matthew Wild <mwild1@gmail.com>
parents:
4134
diff
changeset
|
3 - Clustering |
2663 | 4 - World domination |