def add_job_command(wrapper):
    """Reconstruct a litani add-job command from its wrapper in run.json"""

    return {
        "--command": wrapper["command"],
        "--inputs": wrapper["inputs"],
        "--outputs": wrapper["outputs"],
        "--pipeline-name": wrapper["pipeline_name"],
        "--stdout-file": wrapper["stdout_file"],
        "--interleave-stdout-stderr": wrapper["interleave_stdout_stderr"],
        "--ci-stage": wrapper["ci_stage"],
        "--description": wrapper["description"]
    }