Add bin/ commands
This commit is contained in:
2
bin/bash
Executable file
2
bin/bash
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
docker compose exec php-app bash
|
||||
3
bin/cli
Executable file
3
bin/cli
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
[ -z "$1" ] && echo "Please specify a CLI command (ex. ls)" && exit
|
||||
docker compose exec php-app "$@"
|
||||
5
bin/update
Executable file
5
bin/update
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
echo "Updating project"
|
||||
git pull origin master
|
||||
bin/cli rm -rf var/cache
|
||||
echo "Project updated"
|
||||
Reference in New Issue
Block a user