From 36c60d44ff77f8e73bdcb008aec32dfdd7c66c17 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Mon, 28 Feb 2022 17:12:05 -0500 Subject: [PATCH] add version --- crawl.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crawl.sh b/crawl.sh index a96f2ae05..9bf92af6b 100755 --- a/crawl.sh +++ b/crawl.sh @@ -5,6 +5,10 @@ set -euxo pipefail path=$(pwd)/$(printf "%s/" "$@") mkdir -p $path +if [[ $# -eq 0 ]] ; then + gcloud version > version +fi + groups=$(gcloud help $@ | go run ./ -print=groups) commands=$(gcloud help $@ | go run ./ -print=commands)