-
Improvement
-
Resolution: Fixed
-
Normal
-
None
-
None
-
None
From the click 7 changelog at http://click.palletsprojects.com/en/7.x/changelog/:
> Subcommands that are named by the function now automatically have the underscore replaced with a dash. If you register a function named my_command it becomes my-command in the command line interface.
This affects many LB commands in manage.py, we should either update our documentation, test scripts, and deploy code to reflect this change, or force the command names to use _ or change the command names to not have _ in them
This automatic behaviour can be overwritten by specifying @click.command(name='init_db') directly in the command decorator.