Add bin/ commands #12

Merged
krzysiej merged 1 commits from feature/add-bin-commands into master 2024-11-26 09:57:33 +01:00
3 changed files with 10 additions and 0 deletions
Showing only changes of commit 85e32554ef - Show all commits
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"