Skip to content

Commit

Permalink
Merge pull request #523 from enthought/fix/click-enforce-underscore
Browse files Browse the repository at this point in the history
FIX: Enforce underscore for click command
  • Loading branch information
ku-ya authored Jul 14, 2020
2 parents 0e470c7 + 4b4a9e8 commit 3de7780
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 @@ -101,7 +101,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 3de7780

Please sign in to comment.