def METHOD_NAME(self, commands: list):
    cmd = [self.tool]
    cmd += chain.from_iterable(("--search", path) for path in self.search)
    cmd += self._get_usb_path_cmd()
    managed_configs = []
    for config in self.config:
        mconfig = ManagedFile(config, self.interface)
        mconfig.sync_to_resource()
        managed_configs.append(mconfig)
    if self.interface_config:
        cmd.append("--file")
        cmd.append(f"interface/{self.interface_config}")
    if self.board_config:
        cmd.append("--file")
        cmd.append(f"board/{self.board_config}")
    for mconfig in managed_configs:
        cmd.append("--file")
        cmd.append(mconfig.get_remote_path())
    cmd += chain.from_iterable(("--command", f"{command}") for command in commands)
    processwrapper.check_output(
        self.interface.wrap_command(cmd),
        print_on_silent_log=True
    )