The saas-mediawiki-list command should return the list of instances, from Instances.php file.
This repository rSAASMW can host the command in the bin directory for the command itself and in the src/Utilities directory for the command code.
Command library
The command uses the class Command, from the keruald/commands PHP library.
If there is any need to update the package keruald/commands, code is in the Keruald monorepo, in the commands/src directory.