The general idea is that you should be able to add commands and services to the mw cli and, for example, a mediawiki extension should be able to provide these things directly in the extension's repository.
mw cli should be able to either automatically discover extensions, or probably more sanely, we could provide a command that enables/disables them to give the user more control and avoid too much magic.