def METHOD_NAME(parser: ArgumentParser) -> None:  # noqa: D102
    parser.add_argument(
        "--output-file",
        help="File path to save log archive to. If this is provided the logs are saved "
        "locally. Otherwise they are uploaded to S3 with the url returned in the output. "
        "Default is to upload to S3.",
        type=os.path.realpath,
    )
    parser.add_argument(
        "--keep-s3-objects",
        type=partial(to_bool, "keep-s3-objects"),
        default=False,
        help="Keep the exported objects exports to S3. (Defaults to 'false'.)",
    )
    # Filters
    parser.add_argument(
        "--start-time",
        type=Iso8601Arg(),
        help=(
            "Start time of interval of interest for log events. ISO 8601 format: YYYY-MM-DDThh:mm:ssZ "
            "(e.g. 1984-09-15T19:20:30Z), time elements might be omitted. Defaults to creation time"
        ),
    )
    parser.add_argument(
        "--end-time",
        type=Iso8601Arg(),
        help=(
            "End time of interval of interest for log events. ISO 8601 format: YYYY-MM-DDThh:mm:ssZ "
            "(e.g. 1984-09-15T19:20:30Z), time elements might be omitted. Defaults to current time"
        ),
    )