1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00

handle config, put things in a dir

This commit is contained in:
Jason Hall 2022-02-28 20:14:58 -05:00
parent 36c60d44ff
commit 77d4eba199
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,7 @@
set -euxo pipefail
path=$(pwd)/$(printf "%s/" "$@")
path=$(pwd)/gcloud/$(printf "%s/" "$@")
mkdir -p $path
if [[ $# -eq 0 ]] ; then

View file

@ -35,7 +35,8 @@ func main() {
incommands = true
continue
}
if strings.Contains(txt, "NOTES") {
if strings.Contains(txt, "NOTES") ||
strings.Contains(txt, "AVAILABLE") {
break
}
if strings.Contains(txt, " ") {