The site:debug command: List all known local and remote sites.
Usage:
$ drupal site:debug [arguments]