update Makefile
This commit is contained in:
parent
cea049273c
commit
8ea94d28a2
14
Makefile
14
Makefile
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user