update Makefile

This commit is contained in:
Sam 2022-04-23 14:08:51 +02:00
parent cea049273c
commit 8ea94d28a2

View File

@ -164,6 +164,7 @@ serve-python-dev:
$(FLASK) run --with-threads -h $(HOST) -p $(PORT) --cert=adhoc $(FLASK) run --with-threads -h $(HOST) -p $(PORT) --cert=adhoc
set-admin: set-admin:
echo "Deprecated command, will be removed in a next version. Use 'user-set-admin' instead."
$(FTCLI) users update $(USERNAME) --set-admin true $(FTCLI) users update $(USERNAME) --set-admin true
test-e2e: test-e2e:
@ -186,3 +187,16 @@ type-check:
upgrade-db: upgrade-db:
$(FTCLI) db upgrade $(FTCLI) db upgrade
user-activate:
$(FTCLI) users update $(USERNAME) --activate
user-reset-password:
$(FTCLI) users update $(USERNAME) --reset-password
ADMIN := true
user-set-admin:
$(FTCLI) users update $(USERNAME) --set-admin $(ADMIN)
user-update-email:
$(FTCLI) users update $(USERNAME) --update-email $(EMAIL)