Diff

certs/makefile @ 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 8593:c4222e36333c
line wrap: on
line diff