code: def do_list(self, args):
          
  
          try:
              resources = self.resource_manager.list_resources_info()
          except Exception as e:
              print(e)
          else:
              self.resources = []
              for ndx, (resource_name, value) in enumerate(resources.items()):
                  if not args:
                      print('({0:2d}) {1}'.format(ndx, resource_name))
                      if value.alias:
                          print('     alias: {}'.format(value.alias))
  
                  self.resources.append((resource_name, value.alias or None))
docs: List all connected resources.