aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
Commit message (Collapse)AuthorAgeFilesLines
* prosodyctl: Restore 'list --outdated'Kim Alvefur2022-02-171-0/+4
| | | | | Parsing --flags puts it into 'opts', so --outdated wasn't passed to luarocks, breaking that functionality
* prosodyctl: Allow passing server on command line with --serverKim Alvefur2022-02-041-1/+1
| | | | Because why not I guess. This mirrors the corresponding luarocks command
* prosodyctl: Allow install plugin via explicit path or URLKim Alvefur2022-02-041-2/+2
| | | | | | | | | | This way you don't need to set the server URL in the config to use this, you could just ^C^V an install line from a web page that says prosodyctl install https://modules.example.com/mod_example.src.rock Drop the help message in this case since it'll be all messed up by being given an URL or rock filename.
* prosodyctl: Return success status code from --helpKim Alvefur2022-02-041-11/+11
| | | | | Only when the help is shown because of invalid arguments should a non-zero status code be returned to indicate a problem.
* prosodyctl: Use argument parsing library to parse --help, -h, -?Kim Alvefur2022-02-041-12/+27
| | | | Reads nicer, but adds more code. Can always be reverted later I suppose.
* prosodyctl: Hide process management commands when init system should be used ↵Kim Alvefur2021-12-211-3/+19
| | | | instead
* prosodyctl: Reorder help sectionsKim Alvefur2021-12-211-5/+5
| | | | | | By how old the commands are? Or how disruptive the changes are? Or just by what feels best?
* prosodyctl: Fix weird indentationKim Alvefur2021-11-061-2/+2
|
* Merge 0.11->trunkKim Alvefur2021-09-201-1/+1
|\
| * prosodyctl: Fix later import of LuaFileSystemKim Alvefur2021-09-111-1/+1
| | | | | | | | | | | | lfs or WHAT How did this even happen?
| * prosodyctl: Add 'limits' to known globals to warn about misplacing itKim Alvefur2021-05-271-1/+1
| | | | | | | | It will do nothing in a VirtualHost section for example.
* | prosodyctl: Add a note about checking the order of listed commandsKim Alvefur2021-07-151-1/+1
| | | | | | | | Should Plugin really be first? What order makes the most sense?
* | prosodyctl: Add cert to command listingKim Alvefur2021-07-151-1/+3
| | | | | | | | | | This hides a whole bunch of subcommands tho, maybe those should be explicitly listed?
* | prosodyctl: Add 'shell' to command listingKim Alvefur2021-07-151-1/+2
| |
* | prosodyctl: Add 'check' to command listing (fixes #1622)Kim Alvefur2021-05-301-0/+10
| | | | | | | | | | Along with infrastructure for the other commands that live in external modules.
* | prosodyctl: Reorganize help / command listKim Alvefur2021-01-221-7/+15
| |
* | prosodyctl: Report OpenSSL versionKim Alvefur2021-05-121-0/+4
| |
* | Merge 0.11->trunkMatthew Wild2021-05-131-0/+4
|\|
| * prosodyctl about: Report libexpat version if knownMatthew Wild2021-05-111-1/+5
| |
| * prosodyctl: check config: Add 'gc' to list of global optionsMatthew Wild2021-04-301-1/+1
| |
* | prosodyctl: Add reference to #1602 (plugin installer docs) in commentKim Alvefur2021-01-211-0/+1
| |
* | prosodyctl: Move message after conditionKim Alvefur2021-01-211-1/+1
| | | | | | | | If the condition is false, the message becomes a lie!
* | prosodyctl: Fix copypaste oversightKim Alvefur2021-01-211-2/+2
| |
* | prosodyctl: Abort if no plugin source specified for the installerKim Alvefur2021-01-211-1/+7
| | | | | | | | Better than having a non-working default.
* | prosodyctl: Move UI related calls out of util.prosodyctlKim Alvefur2021-01-211-0/+5
| | | | | | | | | | I think this follows the general separation of duties between prosodyctl and util.prosodyctl better.
* | prosodyctl: Use luarocks status code as exit codeKim Alvefur2021-01-211-3/+6
| | | | | | | | Enables some shell level error handling
* | prosodyctl: Remove non-existant command from hidden commandsKim Alvefur2021-01-051-1/+1
| | | | | | | | | | Apparently there existed a plugin installer for a brief time in 2010, between c5d3905c98a6 and 8f78e8164032
* | util.prosodyctl: Get Luarocks server from configKim Alvefur2020-10-051-1/+2
| |
* | util.prosodyctl: Move hardcoded luarocks server into prosodyctlKim Alvefur2020-10-051-1/+1
| | | | | | | | To be replaced with config option in future commit
* | util.prosodyctl: Flip argument orderKim Alvefur2020-10-051-3/+3
| | | | | | | | | | "verb subject" feels better than "subject verb", especially since the subject (module) is optional.
* | prosodyctl about: Show longer name for luaunboundKim Alvefur2020-07-101-2/+2
| | | | | | | | luaunbound, lunbound, lua-unbound ... "kärt barn har många namn"
* | prosodyctl about: Strip name from lua module _VERSIONKim Alvefur2020-07-101-1/+5
| | | | | | | | | | Some modules have _VERSION = "LuaModule x.y.z", so it is a bit weird to show the name twice.
* | prosodyctl about: Substitute better names for some Lua modulesKim Alvefur2020-07-101-1/+10
| | | | | | | | E.g. 'lxp' isn't that easy to guess that it's LuaExpat
* | prosodyctl about: Split out libraries into a separate sectionKim Alvefur2020-07-101-5/+10
| | | | | | | | | | Currently libevent and libunbound would show up under Lua modules but they are not, so a separate section seems more appropriate.
* | prosodyctl about: Use library function for sorted listing of lua modulesKim Alvefur2020-07-101-5/+3
| | | | | | | | Code reuse and one less module to import is nice.
* | prosodyctl about: Report versions of luaunbound and libunboundKim Alvefur2020-06-251-0/+7
| |
* | prosodyctl: Fix traceback when no command provided (thanks Zash)Matthew Wild2020-06-041-1/+1
| |
* | prosodyctl+util.prosodyctl.*: Start breaking up the ever-growing prosodyctlMatthew Wild2020-06-021-825/+11
| |
* | prosodyctl, util.prosodyctl.shell: `prosodyctl shell` - a client to access ↵Matthew Wild2020-06-011-0/+4
| | | | | | | | the prosodyctl admin shell
* | prosodyctl: Add 'daemonize' to deprecated options known by check commandKim Alvefur2020-01-261-1/+1
| |
* | Merge 0.11->trunkMatthew Wild2020-01-231-4/+5
|\|
| * prosodyctl: Fix some luacheck warningsMatthew Wild2020-01-231-4/+5
| |
* | Merge 0.11->trunkMatthew Wild2020-01-231-0/+20
|\|
| * Log warning when using prosodyctl start/stop/restartMatthew Wild2020-01-231-0/+20
| |
* | Merge 0.11->trunkKim Alvefur2019-12-311-0/+6
|\|
| * prosodyctl: Print a blank line to improve spacing and readabilityKim Alvefur2019-12-311-0/+1
| |
| * prosodyctl check: Warn about conflict between mod_pep and mod_pep_simpleKim Alvefur2019-12-311-0/+5
| | | | | | | | Related #1483
* | Merge 0.11->trunkKim Alvefur2019-11-231-9/+47
|\ \ | |/ |/|
| * prosodyctl: Print friendly version of error messagesKim Alvefur2019-11-011-1/+1
| |
| * Merge 0.11->trunkKim Alvefur2019-09-211-11/+15
| |\