code: def complete(
          self, config, prompt, session, context, current_arguments, current
      ):
          # type: (CompletionInfo, str, ShellSession, BundleContext, List[str], str) -> List[str]
          
          with use_ipopo(context) as ipopo:
              try:
                  # Find the factory name
                  for idx, completer_id in enumerate(config.completers):
                      if completer_id == FACTORY:
                          factory_name = current_arguments[idx]
                          break
                  else:
                      # No factory completer found in signature
                      for idx, completer_id in enumerate(config.completers):
                          if completer_id == COMPONENT:
                              name = current_arguments[idx]
                              details = ipopo.get_instance_details(name)
                              factory_name = details["factory"]
                              break
                      else:
                          # No factory name can be found
                          return []
  
                  # Get the details about this factory
                  details = ipopo.get_factory_details(factory_name)
                  properties = details["properties"]
              except (IndexError, ValueError):
                  # No/unknown factory name
                  return []
              else:
                  return [
                      "{}=".format(key)
                      for key in properties
                      if key.startswith(current)
                  ]
docs: Returns the list of services IDs matching the current state
  
          :param config: Configuration of the current completion
          :param prompt: Shell prompt (for re-display)
          :param session: Shell session (to display in shell)
          :param context: Bundle context of the Shell bundle
          :param current_arguments: Current arguments (without the command itself)
          :param current: Current word
          :return: A list of matches