diff options
author | Matthew Wild <mwild1@gmail.com> | 2025-02-17 17:02:35 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2025-02-17 17:02:35 +0000 |
commit | 79381510cfc470cbe8af57b05c4dfd27b12f55d2 (patch) | |
tree | 623def245524b527f1e7cfbf2e298642eb7e0779 /plugins/mod_auth_internal_hashed.lua | |
parent | edafb195e121856ea46894a20a9e0946a3eebddc (diff) | |
download | prosody-79381510cfc470cbe8af57b05c4dfd27b12f55d2.tar.gz prosody-79381510cfc470cbe8af57b05c4dfd27b12f55d2.zip |
mod_admin_shell, util.prosodyctl.shell: Process command-line args on server-side, with argparse support
This allow a shell-command to provide a 'flags' field, which will automatically
cause the parameters to be fed through argparse.
The rationale is to make it easier for more complex commands to be invoked
from the command line (`prosodyctl shell foo bar ...`). Until now they were
limited to accepting a list of strings, and any complex argument processing
was non-standard and awkward to implement.
Diffstat (limited to 'plugins/mod_auth_internal_hashed.lua')
0 files changed, 0 insertions, 0 deletions