forked from mirrors/bookwyrm
Merge pull request #1648 from bookwyrm-social/completions
Adds bash completion script for bw-dev
This commit is contained in:
commit
2ae8cdaa88
2 changed files with 30 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,6 +4,7 @@
|
|||
*.swp
|
||||
**/__pycache__
|
||||
.local
|
||||
/nginx/nginx.conf
|
||||
|
||||
# VSCode
|
||||
/.vscode
|
||||
|
|
29
complete_bwdev.sh
Normal file
29
complete_bwdev.sh
Normal 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
|
Loading…
Reference in a new issue