diff options
-rwxr-xr-x | .ddev/commands/web/util | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.ddev/commands/web/util b/.ddev/commands/web/util new file mode 100755 index 0000000..c6a8fc5 --- /dev/null +++ b/.ddev/commands/web/util @@ -0,0 +1,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 |