mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
add version
This commit is contained in:
parent
80b66f236b
commit
36c60d44ff
1 changed files with 4 additions and 0 deletions
4
crawl.sh
4
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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue