Skip to content
Snippets Groups Projects
Commit f9fe5937 authored by Benjamin Bertrand's avatar Benjamin Bertrand
Browse files

Dash changed to underscore in flask commands

Linked to click update to 7.x

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.

JIRA INFRA-687
parent c054d1b7
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ db: ## start postgres and redis for development ...@@ -42,7 +42,7 @@ db: ## start postgres and redis for development
init_db: ## initialize the dev database init_db: ## initialize the dev database
docker-compose run --rm web flask db upgrade head docker-compose run --rm web flask db upgrade head
docker-compose run --rm web flask create_defaults docker-compose run --rm web flask create-defaults
upgrade_db: ## upgrade the dev database upgrade_db: ## upgrade the dev database
docker-compose run --rm web flask db upgrade head docker-compose run --rm web flask db upgrade head
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment