Skip to content

Commit 542962a

Browse files
committed
feat: add tpurge command as a convenience alias
1 parent 7cdd7d2 commit 542962a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

bin/tpurge

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
script_path="$( cd "$(dirname "$0")" ; pwd -P )"
4+
5+
# If the container isn't specified, then we just default to the default php container.
6+
container="$1"
7+
if [[ -z "$container" ]]; then
8+
container="php"
9+
fi
10+
11+
$script_path/texec "$container" php server/admin/cli/purge_caches.php

0 commit comments

Comments
 (0)