#! /usr/bin/env python3

# ICON
#
# ------------------------------------------
# Copyright (C) 2004-2026, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss
# Contact information: icon-model.org
# See AUTHORS.TXT for a list of authors
# See LICENSES/ for license information
# SPDX-License-Identifier: BSD-3-Clause
# ------------------------------------------
import click
from yaml_experiment_test_processor import ExperimentTestCollection

ALLOWED_PARAMETERS = ["dates", "types", "restart_date"]


@click.command()
@click.option("--experiment", "exp", type=str, required=True)
@click.option(
    "--param", "param", type=click.Choice(ALLOWED_PARAMETERS), required=True
)
def main(exp, param):
    tests = ExperimentTestCollection()
    tests.print_checksuite_param_for_exp(param, exp)


if __name__ == "__main__":
    main()
