From 53faa490017230d44794da1a5e4c277ef747ae50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Mon, 5 Feb 2024 12:19:07 +0100 Subject: [PATCH] Add helper script --- scripts/tbx-helper.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 scripts/tbx-helper.sh diff --git a/scripts/tbx-helper.sh b/scripts/tbx-helper.sh new file mode 100755 index 0000000..2d6e11b --- /dev/null +++ b/scripts/tbx-helper.sh @@ -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