def METHOD_NAME(self, name):
    try:
        self.config.set("providers", name, config_name='config')
    except Exception as e:
        # In case if command run in folder without config, do not set it
        pass
    return self
    """creates a copy of an existing Context
    Args:
        name (str): The name of the config file. Default is 'config'
    Returns:
        object: Context object
    Example:
        .. code-block:: python
            ctx = Context()
            new_ctx = ctx.copy()
    """
    # new = Context(name, self.config.path, self.debug)
    # new.set_runs_on_server(self._runs_on_server)
    # new.notificator = self.notificator
    # new.request_id = self.request_id
    # new.config.parts = self.config.parts
    # new.config.parts_changes = self.config.parts_changes
    # try:
    #     new.config.set("providers", name, config_name='config')
    # except Exception as e:
    #     # In case if command run in folder without config, do not set it
    #     pass
    # if hasattr(self, 'credentials'):
    #     new.credentials = self.credentials
    # return new