aboutsummaryrefslogtreecommitdiffstats
path: root/.ddev/commands/web/util
blob: c6a8fc51011237d7c267651547909b5b85d7b9b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
#
## Description: Run a script from the Hubzilla util directory in the container
## Usage: util <script> [args...]
## Example: ddev util addon list all

script=$1 && shift

if [ -x ./util/$scrpt ]; then
	./util/$script $*
else
	echo "[-] Error: util/$script was not fund."
fi