def METHOD_NAME(
    self, local_output_yaml: list, local_run_script: str
):
    command = local_run_script
    for key, value in asdict(self).items():
        if key != "RUNTIME":
            if isinstance(value, list):
                if key == "output_yaml":
                    value = ",".join(local_output_yaml)
                else:
                    value = ",".join(value)
            command += f" --{key} {value}"
    return command