Diff

plugins/mod_admin_shell.lua @ 11520:0a464a6e88c4

util.prosodyctl.shell: Allow calling console commands with fewer shell quotes E.g. `prosodyctl shell module reload disco example.com` becomes equivalent to `prosodyctl shell 'module:reload("disco", "example.com")`. Won't work for every possible command, but reduces the amount of shell quoting problems for most common commands.
author Kim Alvefur <zash@zash.se>
date Sun, 25 Apr 2021 17:20:58 +0200
parent 11504:1f700f5f62cb
child 11523:5f15ab7c6ae5
line wrap: on
line diff