Add helper script
This commit is contained in:
parent
57d9ab5709
commit
53faa49001
26
scripts/tbx-helper.sh
Executable file
26
scripts/tbx-helper.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user