Merge pull request 'Add bin/ commands' (#12) from feature/add-bin-commands into master

Reviewed-on: #12
This commit was merged in pull request #12.
This commit is contained in:
2024-11-26 09:57:32 +01:00
3 changed files with 10 additions and 0 deletions
Executable
+2
View File
@@ -0,0 +1,2 @@
#!/usr/bin/env bash
docker compose exec php-app bash
Executable
+3
View 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 "$@"
Executable
+5
View 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"