diff --git a/ci/edmtool.py b/ci/edmtool.py index 60b5f802b..981f2203a 100644 --- a/ci/edmtool.py +++ b/ci/edmtool.py @@ -101,7 +101,11 @@ } -@click.group() +def normalize(name): + return name.replace("_", "-") + + +@click.group(context_settings={"token_normalize_func": normalize}) def cli(): pass