I've added a script to mwcli that adds all of the CLI documentation to the README.
It was easier than I'd thought it was going to be, to get access to thw command definitions. Most of the patch is dealing with formatting, and there's some more of that to do. I also added a CI check to ensure that the documentation always matches what's in the code. It helps to highlight missing i18n messages as well.