def METHOD_NAME() -> List[BosSessionTemplate]:
    """
    Wrapper for calling the CLI to list all BOS session templates.
    Uses BOS v2 since the version makes no difference to the results in this case (despite
    what the API spec says).
    Returns the list.
    Raises BosCliError on error.
    """
    list_command = "cray bos v2 sessiontemplates list --format json"
    try:
        proc = subprocess.run(list_command.split(), stdout=subprocess.PIPE, check=True)
    except subprocess.CalledProcessError as exc:
        raise BosCliError(f"Failed to list templates: {exc}") from exc
    return json.loads(proc.stdout)