Merge pull request #1648 from bookwyrm-social/completions

Adds bash completion script for bw-dev
This commit is contained in:
Mouse Reeve 2021-12-04 09:39:05 -08:00 committed by GitHub
commit 2ae8cdaa88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

1
.gitignore vendored
View file

@ -4,6 +4,7 @@
*.swp
**/__pycache__
.local
/nginx/nginx.conf
# VSCode
/.vscode

29
complete_bwdev.sh Normal file
View file

@ -0,0 +1,29 @@
#/usr/bin/env bash
# for zsh, run:
# autoload bashcompinit
# bashcompinit
complete -W "up
service_ports_web
initdb
resetdb
makemigrations
migrate
bash
shell
dbshell
restart_celery
pytest
collectstatic
makemessages
compilemessages
update_locales
build
clean
black
populate_streams
populate_suggestions
generate_thumbnails
generate_preview_images
copy_media_to_s3
set_cors_to_s3
runweb" -o bashdefault -o default bw-dev