Software /
code /
prosody
File
teal-src/util/crand.d.tl @ 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 | 11459:86904555bffc |
line wrap: on
line source
local record lib bytes : function (n : integer) : string enum sourceid "OpenSSL" "arc4random()" "Linux" end _source : sourceid end return lib