Add helper script

This commit is contained in:
Torjus Håkestad 2024-02-05 12:19:07 +01:00
parent 57d9ab5709
commit 53faa49001

26
scripts/tbx-helper.sh Executable file
View File

@ -0,0 +1,26 @@
#!/bin/sh
usage() {
echo "Usage: $0 COMMAND"
echo ""
echo "Available commands:"
echo "pull-images Pull all known toolbox images"
}
pull_images() {
podman pull git.t-juice.club/torjus/toolboxes/vscode:latest
}
if [ $# != 1 ]; then
usage
exit 1
fi
case "$1" in
pull-images)
pull_images
;;
*)
usage
;;
esac