diff --git a/slo_generator/cli.py b/slo_generator/cli.py index aa678bad..f029b236 100644 --- a/slo_generator/cli.py +++ b/slo_generator/cli.py @@ -156,6 +156,7 @@ def compute(slo_config, config, export, delete, timestamp): "--target", envvar="GOOGLE_FUNCTION_TARGET", default="run_compute", + type=click.Choice(["run_compute", "run_export"]), help="Target function name", ) @click.option(