Skip to content

Commit

Permalink
FIX: Enforce underscore for click command
Browse files Browse the repository at this point in the history
  • Loading branch information
ku-ya committed Jul 11, 2020
1 parent 192675d commit 4b4a9e8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ci/edmtool.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,11 @@
}


@click.group()
def normalize(name):
return name.replace("_", "-")


@click.group(context_settings={"token_normalize_func": normalize})
def cli():
pass

Expand Down

0 comments on commit 4b4a9e8

Please sign in to comment.