bookwyrm/complete_bwdev.sh
Jascha Urbach ea316627be
Manual email confirm (#2492)
* manual approve email via bw-dev/manage.py

./bw-dev confirm_email USER
(venv) python manage.py confirm_email USER

* add "confirm_email" and "remove_2fa" to autocompletion

* OK, sometimes I feel fooled by this.

The lione was not LONG ENOUGH.

* Change deactivate reason to None

* Whyever this works now

Python in my system is a wondermachine.
2022-12-11 12:35:20 -08:00

37 lines
508 B
Bash

#/usr/bin/env bash
complete -W "up
service_ports_web
initdb
resetdb
makemigrations
migrate
bash
shell
dbshell
restart_celery
pytest
pytest_coverage_report
collectstatic
makemessages
compilemessages
update_locales
build
clean
black
prettier
eslint
stylelint
formatters
collectstatic_watch
populate_streams
populate_lists_streams
populate_suggestions
generate_thumbnails
generate_preview_images
copy_media_to_s3
set_cors_to_s3
setup
admin_code
remove_2fa
confirm_email
runweb" -o bashdefault -o default bw-dev