1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00

add version

This commit is contained in:
Jason Hall 2022-02-28 17:12:05 -05:00
parent 80b66f236b
commit 36c60d44ff

View file

@ -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)